photo

Chris


Last seen: nästan 2 år ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 4

View badges

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.

nästan 2 år ago | 3 answers | 0

3

answers

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

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

1

answer

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

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

1

answer

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?

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

1

answer

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

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

1

answer

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

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

1

answer

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

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

1

answer

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?

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

2

answers

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

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

1

answer

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

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

0

answers

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?

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

1

answer

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

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

1

answer

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

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

1

answer

Question


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

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

1

answer

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

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

1

answer

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

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

1

answer

Question


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

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

1

answer

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

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

1

answer

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

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

2

answers

Question


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

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

0

answers

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?

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

1

answer

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

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

1

answer

Question


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

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

1

answer

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

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

1

answer

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

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

1

answer

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

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

0

answers

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

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

1

answer

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

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

1

answer

Question


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 3 år ago | 1 answer | 0

1

answer

Load more