# Chris

Last seen: mer än ett år ago Active since 2021

Followers: 0   Following: 0

#### Feeds

View by

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.

mer än ett år ago | 3 answers | 0

### 3

Question

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...

mer än ett år ago | 1 answer | 0

### 1

Question

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...

mer än ett år ago | 1 answer | 0

### 1

Question

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?

mer än ett år ago | 1 answer | 0

### 1

Question

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) = ...

mer än ett år ago | 1 answer | 0

### 1

Question

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...

mer än ett år ago | 1 answer | 0

### 1

Question

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...

mer än ett år ago | 1 answer | 0

### 1

Question

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?

mer än ett år ago | 2 answers | 0

### 2

Question

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...

mer än ett år ago | 1 answer | 0

### 1

Question

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...

mer än ett år ago | 0 answers | 0

### 0

Question

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?

mer än ett år ago | 1 answer | 0

### 1

Question

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...

mer än ett år ago | 1 answer | 0

### 1

Question

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)); ...

mer än ett år ago | 1 answer | 0

### 1

Question

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 ...

mer än ett år ago | 1 answer | 0

### 1

Question

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...

mer än ett år ago | 1 answer | 0

### 1

Question

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))...

mer än ett år ago | 1 answer | 0

### 1

Question

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

mer än ett år ago | 1 answer | 0

### 1

Question

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 ...

mer än ett år ago | 1 answer | 0

### 1

Question

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..?

mer än ett år ago | 2 answers | 0

### 2

Question

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

mer än ett år ago | 0 answers | 0

### 0

Question

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?

mer än ett år ago | 1 answer | 0

### 1

Question

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...

mer än ett år ago | 1 answer | 0

### 1

Question

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

mer än ett år ago | 1 answer | 0

### 1

Question

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)?

mer än ett år ago | 1 answer | 0

### 1

Question

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 ...

mer än ett år ago | 1 answer | 0

### 1

Question

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...

mer än ett år ago | 0 answers | 0

### 0

Question

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)?

mer än ett år ago | 1 answer | 0

### 1

Question

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??

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