**Statistics**

**MATLAB Answers**

**25** Questions

**0** Answers

RANK**6,543**

of 271,496

REPUTATION**6**

CONTRIBUTIONS

**25** Questions

**0** Answers

ANSWER ACCEPTANCE **
16.0%
**

VOTES RECEIVED**5**

RANK

of 18,315

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 120,048

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

How to make a variable content part of a path

I have a string variable, which is changing during the loop, it is named filename and it takes on values like 'file001.txt', 'fi...

5 years ago | 1 answer | 0

### 1

answerQuestion

How to do vlookup with several conditions

I have a matrix called comb which has 4 columns. I want to do something like vlookup but with 4 columns. Lets say the four colum...

5 years ago | 1 answer | 0

### 1

answerQuestion

Is it possible to lable xminortick

I am plotting some data and on the x-axis, it is the hours of the days. I would like to have major tick for the days and the min...

6 years ago | 1 answer | 0

### 1

answerQuestion

How to publish a script including many figures but not opening them on the screen

I have a script which plots many figures. I would like to publish it, with all the figures. But I don't need all the figures to ...

7 years ago | 1 answer | 0

### 1

answerQuestion

Any good ways to read data from messy Excel files?

Hi, I have some data in Excel files. They include variable names and variable contents (usually a column or a row) and some are ...

7 years ago | 0 answers | 0

### 0

answersQuestion

In fitglm, how can I have a predictor as both categorical and ordinal?

I have a predictor variable of AgeGroup. It has value of 1,2, 3... 9. I want it to be categorical and ordinal. However, if I use...

7 years ago | 2 answers | 0

### 2

answersQuestion

How to re-produce an existing variable in the script without using it?

Hi, this sounds silly... I have a variable in my workspace... say it is called A of size (200,1). Each element of it is just a n...

7 years ago | 4 answers | 0

### 4

answersQuestion

Exporting large dataset into Excel

I have a 100000*407 double variable in my workspace and want to save it in Excel. I got error message. I am pretty sure the sint...

7 years ago | 1 answer | 0

### 1

answerQuestion

Very long running time of grpstats

I am using grpstats function to count by one group variable. My dataset is 380,000 by 16. But I am only counting one of the 16 v...

7 years ago | 0 answers | 0

### 0

answersQuestion

How can I know if my license includes Matlab Compiler (SDK) or not?

Thanks!

7 years ago | 1 answer | 1

### 1

answerQuestion

Why does stepwiseglm give me many chosen predictors with p value close to 1

Hi, I ran a stepwiseglm with around 32 predictors and used stepwiseglm with poisson as link function. After nearly 9 hours, it c...

7 years ago | 0 answers | 0

### 0

answersQuestion

Can strsplit be applied to a matrix?

Hi, I am used strsplit to take out 1 from string of "1: abc". I have to loop each string and that takes time. Is there anyway th...

7 years ago | 1 answer | 0

### 1

answerQuestion

How to create new variables in batches with strcat

Hi, What I want to do is something like for m=1:11 for i=1:3 for k=1:5 for x=1:9 ...

7 years ago | 1 answer | 2

### 1

answerQuestion

Can xlsread (Matlab) read pre-named range in Excel by range name?

Hi, I know xlsread can read precise the range you specify, for example A= xlsread(filename,'Sheet1','I1:I2') However, I hav...

8 years ago | 2 answers | 1

### 2

answersQuestion

How to find the variable by cell array contents

Hi, I have a cell array that looks like this: <</matlabcentral/answers/uploaded_files/26089/MyCell.JPG>> It's (2,10) ele...

8 years ago | 1 answer | 0

### 1

answerQuestion

How the CI of GLM parameters are calculated?

I need to have the distributions of the coefficients estimated by glm model. I tried to find them and tested if the ones I found...

8 years ago | 1 answer | 0

### 1

answerQuestion

How to obtain the values of parameters of the response distribution in GLM

Say I have a datast called dataset modelspec = 'Y ~ x1 + x2+ x3 + x4 + x5'; mdl_invG = fitglm(dataset, modelspec, 'Dis...

8 years ago | 0 answers | 0

### 0

answersQuestion

fitglm warning message "Warning: Iteration limit reached"

What does that mean? My dataset has 215 observations. Is it too small? Thanks a lot!

8 years ago | 0 answers | 1

### 0

answersQuestion

Does this mean my dataset has too few observations?

I ran a GLM regression with 5 indepedent variables. My dataset contains 238 observations and I got error message like this: ...

8 years ago | 1 answer | 0

### 1

answerQuestion

How can I save all screen outputs and figures generated in one MS Word file?

Hi, I'm running some scripts which generate some results on the screen and some figures plotted. I know diary can save all scree...

8 years ago | 1 answer | 0

### 1

answerQuestion

How to calculate AIC in glmfit?

Please help me with this! How to calculate AIC in glmfit? I use gamma and log as link function. Thanks a lot!

8 years ago | 1 answer | 0

### 1

answerQuestion

How to read GLM results / choose the best model?

Hi, I am wondering in Matlab, which indicator should be used to choose the best model? When I use fitglm, in addition to the ...

8 years ago | 0 answers | 0

### 0

answersQuestion

Got Error message (OutOfMemoryError) when I just started Matlab. Why?

Hi, this sounds a stupid question... I start my Matlab session, and barely defined ore or two variables and a full screen of err...

8 years ago | 0 answers | 0

### 0

answersQuestion

Why I get different outcomes from iteration as part of a big function and iteration as main part of a small function

Hi, I'm really bothered by this issue and will appreciate help very much. I have a while loop which has only 7 lines and i...

8 years ago | 0 answers | 0

### 0

answersQuestion

How to print out cell array to CSV file?

Hi, I have a large cell array (600000*75). I just want to write it into CSV file. It has both numeric and text values. How s...

9 years ago | 1 answer | 0