# Chris

**Statistics**

**MATLAB Answers**

**59** Questions

**0** Answers

RANK**34 556**

of 281 515

REPUTATION**1**

CONTRIBUTIONS

**59** Questions

**0** Answers

ANSWER ACCEPTANCE **
69.49%
**

VOTES RECEIVED**1**

RANK

of 19 045

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 133 716

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 can I change all numbers in matrix to 1? except for 0

How can I change all numbers in matrix to 1? except for 0 I want to make the matrix which has 1(all the numbers) or 0.

10 månader ago | 3 answers | 0

### 3

answersQuestion

I used "[b,dev.stats]=glmfit(b1,a1,'binomial')" function, and it has an error..

I used "[b,dev.stats]=glmfit(b1,a1,'binomial')" function, and it has an error.. a1 and b1 are 131472*1 matrix. When I used "gl...

10 månader ago | 1 answer | 0

### 1

answerQuestion

When I used "gamfit(data)", it says "X must be non-negative."

I have 45000*1 data table and all of values are non negative. When I used "gamfit(data)", it says "X must be non-negative." Wou...

10 månader ago | 1 answer | 0

### 1

answerQuestion

I used "autocorr"function and got this graph. How can I interpret this grpah meaning?

10 månader ago | 1 answer | 0

### 1

answerQuestion

How can I plot Kendall tau trend by using MATLAB code?

I have 1*20 matrix and want to plot Kendall tau trend. May I ask how to do it by using codes?

10 månader ago | 1 answer | 0

### 1

answerQuestion

May I ask how I can find 95% confidence interval of skew_FP() from these codes?

rng(1000) nn=143; for n=1:1000; r=rand(nn,1); ss(n)=std(r); m(n)=mean(r); med(n)=median(r); nu(n)=numel(r) skew_FP(n) = ...

11 månader ago | 1 answer | 0

### 1

answerQuestion

I want to test whether the skewness of the samples(from A:900*1 matrix) converge to 0 or not by using Montecarlo simulation.

Hi, I want to test whether the skewness of the samples(from A:900*1 matrix) converge to 0 or not by using Montecarlo simulation...

11 månader ago | 1 answer | 0

### 1

answerQuestion

I want to determine if the data(tmin) are Gaussian distributed or not by using Montecarlo simulation with skewness.

nn=143; for n=1:1000; load('ERA_Livneh_Birmingham.mat') ss(n)=std(tmin); m(n)=mean(tmin); med(n)=median(tmin); nu(n)=numel...

11 månader ago | 1 answer | 0

### 1

answerQuestion

I want to do bootstrap analysis by using 20*1 matrix.

I want to draw 500 samples from the 20*1 matrix (20 pairs of observations). In this case, what codes do I have to use?

11 månader ago | 2 answers | 0

### 2

answersQuestion

Can I use "chi2gof" code in this case?

The forecasts of event A: 500 and the observations of event A: 400. I want to use chi-square test. In this case, can I use "chi...

11 månader ago | 1 answer | 0

### 1

answerQuestion

May I ask how I can get the 95% confidence intervals for the true mean data?

"A" is data with 700*1 matrix. I want to have the 95% confidence intervals for the true mean of A. What codes do I have to use...

11 månader ago | 0 answers | 0

### 0

answersQuestion

What codes do I have to use to determine if the data are Gaussian distributed?

What codes do I have to use to determine if the data are Gaussian distributed?

11 månader ago | 1 answer | 0

### 1

answerQuestion

May I ask how to plot Poisson distribution plot?

lamda = 47/42; year_span = 1, 2, ....., 9; x = 0; p = (exp(-lamda*year_span))*((lamda*year_span)^x)/(factorial(x)); 1-p T...

11 månader ago | 1 answer | 0

### 1

answerQuestion

Would you please tell me what do I have to fix in Binomial distribution code?

for n = 2:30 for x=1:n; p(x) = (factorial(n)/(factorial(x)* factorial(n-x)))*((10/230)^x)*(1-(10/230).^(n-x)); ...

11 månader ago | 1 answer | 0

### 1

answerQuestion

Question about "gamcdf" code

The scale parameter is 2 and shape parameter is 1. I want to use "gamcdf" code for 75th percentile value, then do I have to use ...

11 månader ago | 1 answer | 0

### 1

answerQuestion

May I ask what MATLAB code for expected value is by fitting a Poisson distribution?

A = [1, 2, 3, 4, ..., 100] In this case, I want to fit a Possion distribution and get the expected value. Would you please tel...

12 månader ago | 1 answer | 0

### 1

answerQuestion

I have troubles in for loop with 2 variables.

for n = 2:30 for x=1:n; p(x) = (factorial(n)./(factorial(x).* factorial(n-x))).*((10/230).^x).*(1-(10/230).^(n-x))...

12 månader ago | 1 answer | 0

### 1

answerQuestion

What is the code of Gamma distribution with method of moments?

What is the code of Gamma distribution with method of moments?

12 månader ago | 1 answer | 0

### 1

answerQuestion

How can I make a Monte Carlo estimate for skewness (by using a sample size of n=500 with 500 repetitions?)

May I ask how can I make a Monte Carlo estimate for skewness (by using a sample size of n=500 with 500 repetitions?) Also, how ...

12 månader ago | 1 answer | 0

### 1

answerQuestion

Would you tell me the code for Fisher Pearson skewness?

Would you tell me the code for Fisher Pearson skewness? How can I get the skewness with Fisher Pearson formula..?

ungefär ett år ago | 2 answers | 0

### 2

answersQuestion

How can I plot "Monte Carlo" with 3000 random numbers?

How can I plot "Monte Carlo" with 3000 random numbers?

ungefär ett år ago | 0 answers | 0

### 0

answersQuestion

what formula do I have to put for calculating by using MATLAB?

N = 500, S = 110. Then what formula do I have to put for calculating by using MATLAB?

ungefär ett år ago | 1 answer | 0

### 1

answerQuestion

How can I compare with daily precipitation data from the day before?

I have 30 years of daily precipitation data. I want to compare those data with the data from the day before. A is 10950*1 matr...

ungefär ett år ago | 1 answer | 0

### 1

answerQuestion

How can I find numbers>30 in 810*1 matrix?

How can I find numbers>30 in 810*1 matrix?

ungefär ett år ago | 1 answer | 0

### 1

answerQuestion

How can I extract specific data?

There are 7300*1 matrix of daily temperatures. Would you please tell me how can I get summer temperatures (June to August)?

ungefär ett år ago | 1 answer | 0

### 1

answerQuestion

How can I select or extract rows?

I have a 9855 * 1 table indicating months. Such as 1 1 1 2 2 2 3 3 3 . . 12 12 12 1 1 1 2 2 2 ... How ...

ungefär ett år ago | 1 answer | 0

### 1

answerQuestion

How to extract the specific rows from the table?

There are total of 30 years precipitation data (Januaray to December). There are only one column with January to December. How...

ungefär ett år ago | 0 answers | 0

### 0

answersQuestion

How can I get precipitation data only for summer (June~August for 30 years)?

I have a daily precipitation data for 30 years. Then how can I get precipitation only for summer (June~August for 30 years)?

ungefär ett år ago | 1 answer | 0

### 1

answerQuestion

How can I convert x-axis (cycle or day) to x-axis (frequency) ?

How can I convert x-axis (cycle or day) to x-axis (frequency) ? If it is possible, could you tell me the method??

nästan 2 år ago | 1 answer | 0

### 1

answerQuestion

I want to draw dotted line arrow by using quiver. What do I have to do?

I want to draw dotted line arrow by using quiver. What do I have to do?

nästan 2 år ago | 1 answer | 0