回答済み
Bootstrap standard errors for nonlinear least squares regression
The procedure you describe is not exactly using bootstrap methodology, at least as I understand it. In your Step 1 you say you w...

7年以上 前 | 0

| 採用済み

回答済み
how to compute a for cycle in copulapdf varying nu parameter from 1 to 8
Not sure if this is what you want, but it looks easy enough. Change the first line to for nu=1:8 add end as the ...

7年以上 前 | 1

| 採用済み

回答済み
P-value of cross-correlation
If I understand, you are looking for the tail probability of vm2 within the Pearson's r distribution. That distribution doesn't...

7年以上 前 | 1

回答済み
Hi everyone, I need your help on my problem
If n is more than a very small number, the sum of n of independent Ricians will be very close to normal with mean n*m and varian...

7年以上 前 | 0

回答済み
Retrieve a variable from a function
syms p n m b d t eqn = p == ((n-m)*((1/b)-(1/d)+ ((n-m)*t)/(n*b*d))); solve_for_n = solve(eqn,n) % Specif...

7年以上 前 | 1

| 採用済み

回答済み
Standard error of an Unconditional Variance?
Whenever any model parameter is estimated from random data, there is some uncertainty about the true value of that parameter. A...

7年以上 前 | 0

| 採用済み

回答済み
How to produce a multiple linear fittings for scatter plot?
It's not entirely clear what you have so far or what part you are having trouble with, but it sounds like you may want something...

7年以上 前 | 0

質問


Unit testing: Check result of e.g. verifyEqual
In a unit test, I have many lines such as: verifyEqual(testCase,1.5,x); Next I would like to have an 'if' statement to e...

7年以上 前 | 1 件の回答 | 0

1

回答

回答済み
Assign Multiple Variables
<https://au.mathworks.com/matlabcentral/fileexchange/48439-matsplit matsplit> does this.

7年以上 前 | 3

回答済み
Look-up table row and assign values to individual variables
Another option is to return a structure containing all the variables you want as its fields. For example, rowName = 'Joh...

7年以上 前 | 0

回答済み
MATLAB Class-based unit tests: How to pass in variable containing data to test
Try putting getData and afunction in a separate "methods" section--note, plain "methods", without "(Test)"--that is placed befor...

7年以上 前 | 0

回答済み
Implementing Welford's Algorithm (incremental variance calculation)
<https://github.com/ewiger/runstat RunStat> on GitHub seems to have a MATLAB implementation (among others)

7年以上 前 | 0

| 採用済み

回答済み
Issue of classification of variables in a parfor.
I'm not sure I follow this, but I think there is a problem in these lines: [gamma_opt,xit_opt]=find(eval_val==min(min(e...

7年以上 前 | 0

| 採用済み

回答済み
How to plot partial correlation?
The partial correlation of X and Y controlling for some other variables [Z] is the correlation of rX with rY, where rX and rY ar...

7年以上 前 | 0

| 採用済み

回答済み
How can i give multiple ranges for variable x within fmincon bounds or inequalities?
Have a look at John D’Errico’s fminsearchbnd and fminsearchcon. Maybe one of these will be flexible enough to do what you want....

7年以上 前 | 0

回答済み
How can i give multiple ranges for variable x within fmincon bounds or inequalities?
For the situation with a single x, maybe the simplest approach is to run fmincon 3 times--once with the bounds 10,30; a second t...

7年以上 前 | 0

回答済み
Given two probability density functions and correlation matrix, how to generate two correlated random sequences?
This question is difficult because there are lots of ways to generate sequences from different bivariate distributions that all ...

7年以上 前 | 0

回答済み
Why p-values are uniformly distributed when the null hypothesis is true?
This is not really a MATLAB question, but OK, I’ll have a go. First a technical detail: p values are only uniformly distribut...

7年以上 前 | 1

| 採用済み

回答済み
Calculation of Factorial using Recursive Relation
This might help: <https://en.wikipedia.org/wiki/Recursion_(computer_science) Wikipedia>

7年以上 前 | 0

回答済み
Using MLE for duration data?
Is the problem that your data are in a non-numeric datetime format? If so, you need to convert them to numbers. See <https://a...

7年以上 前 | 0

| 採用済み

回答済み
Generate a random variable [0,100] according to normal, weibull, and gamma distribution
Rather than truncating an unbounded distribution to lie between 0 and 100%, you might consider using an inherently bounded distr...

7年以上 前 | 0

回答済み
How to determine and plot a probability density function?
The discretize function will do most of the job. You may have to play around with it a bit, but something like this should work...

7年以上 前 | 0

| 採用済み

回答済み
Inconsistent Results w/ fitdist for Generalized Pareto
A couple of comments, though I don't think they will help you much. First, check the <https://au.mathworks.com/help/stats/pro...

7年以上 前 | 0

回答済み
Multi-Variable Constrained Optimization of Undefined Objective Function
You must provide an objective function in order to use MATLAB's minimization routines. If the objective function can only be co...

7年以上 前 | 1

回答済み
Understanding Parameter Errors in fitnlm
Wikipedia has a pretty good explanation of the <https://en.wikipedia.org/wiki/Mean_squared_error mean squared error> that fitnlm...

7年以上 前 | 0

| 採用済み

回答済み
How can I obtain a truncated log-Normal distribution object?
I think you can do it with <https://github.com/milleratotago/Cupid Cupid>. It would look something like this: myDist = Tru...

7年以上 前 | 1

回答済み
How do I generate simulated data?
It is hard to say without knowing about the structure of your data set or about exactly what you mean by "simulated data", but h...

7年以上 前 | 1

| 採用済み

回答済み
I have a main class which takes 2 arguments, Two arguments(Same) are coming from 2 another classes which are doing differnet computations . Now I need to define a 3rd argument which allows user to specify which class he wish to chooses .
I'm guessing main class is a parent class and sum and diff are two child classes descended from it. If that is right, the bes...

7年以上 前 | 0

| 採用済み

回答済み
How can I assure that the Kruskal-Wallis test work right in MATLAB?
The histograms provide very strong evidence against your assumption that the measurements are "time independent", so I think the...

7年以上 前 | 0

回答済み
Transform Mean and standard deviation that follow normal distribution into Mi and Sigma that follow Logarithmic normal distribution (Log-Normal)
finalmu = 550; finalsigma = 27; lnsigma = sqrt( log( finalsigma^2 / finalmu^2 + 1) ); lnmu = log( finalmu/exp(0.5*lns...

7年以上 前 | 0

| 採用済み

さらに読み込む