Question

Regression with some part of the array

Suppose I have x vector=[ 1 5 6 7 8 3 2 ] and corresponding y vector [2 9 4 6 4 5 6]. How to run regression for y on x for ...

5 years ago | 1 answer | 0

Question

How does 'fmincon' work?

Can fmincon estimated with different algorithms: active-search or sqp, provide different estimated values of parameters at the e...

5 years ago | 1 answer | 0

Question

How to solve error in fmincon ?

Hi, what I'm doing wrong so that it displayes error after my specification: options = optimset('Display','off','Algorith...

5 years ago | 1 answer | 0

Question

fminsearch with integer parameters

Hi, i have problem with fminsearch. One of the parameters is the point on the grid. When i use fminsearch, the points can ge...

5 years ago | 1 answer | 0

Question

Calculate mean of a CDF

Can you please help to calculate mean on some interval [a,b]: $\underset{a}{\overset{b}{\int}}\theta dF\left(\theta\right)$ kn...

5 years ago | 0 answers | 0

Question

How to correctly change mean in the distribution?

I computed numerically g-pdf function, where the means- i take points in the grid. When I would to change the mean, i.e. multip...

6 years ago | 0 answers | 0

Question

How to find x for a given value of y?

I have found eigenvector h given matrix g. To do that, i have constructed a grid of random numbers : % generate grid dx = (x...

6 years ago | 0 answers | 0

Question

how to draw random numbers from the vector

Hi, i have drawn a distribution based on on the generated vector of random numbers. My question is: # how to draw randoml...

6 years ago | 2 answers | 0

Answered

How to write code with iterations for this integral?

My code is the following. But it seems that my integral does not converge. What i'm doing wrong? clear all; close all; clc; ...

How to write code with iterations for this integral?

My code is the following. But it seems that my integral does not converge. What i'm doing wrong? clear all; close all; clc; ...

6 years ago | 0

Question

How to write code with iterations for this integral?

The integral is the following : h(x)=integral(from a to b) of g(x,y)h(y)dy. I'm not so advanced in matlab. I know how to estimat...

6 years ago | 1 answer | 0