photo

Rabeya


Univ of Manchester

自 2012 起处于活动状态

Followers: 0   Following: 0

消息

Rabeya
Professional Interests: research

统计学

  • Thankful Level 3

查看徽章

Feeds

排序方式:

提问


fminunc not to stop even if it does not converge in one or more of 1000 replications of a simulation
Hi, I have a simulation of 1000 replications including two optimizations each using fminunc. In some of the cases, one of the op...

11 years 前 | 1 个回答 | 0

1

个回答

提问


Random numbers seed setting
Hi, I am using randn('seed', 1) at the beginning of my code for a simulation with 1000 replications. This is to make sure tha...

11 years 前 | 1 个回答 | 0

1

个回答

提问


I have generated a large dataset. Now I need to draw random samples from it. How can I do this?
For simulation, I have to draw 1000 random samples from a large dataset. I am looking for some efficient way of doing this. Can ...

12 years 前 | 2 个回答 | 0

2

个回答

提问


generating same random numbers as stata
I want to generate same set of random numbers using matlab as well as stata. I understand that this should be done by setting 's...

12 years 前 | 0 个回答 | 0

0

个回答

提问


optimization using fmincon where objective function includes the lagrange multiplier
my objective function is to maximize sum_i(log(1-lambda(yi-xi*beta))) with respect to beta subject to the constraint sum_i(yi-xi...

12 years 前 | 1 个回答 | 0

1

个回答

提问


Setting seed in random ('normal')
I am using random('Normal',2,5,T,1) to generate vector of random numbers from normal distribution with mean 2, variance 5. I wan...

12 years 前 | 2 个回答 | 0

2

个回答

提问


what does this mean? say for a matrix W, W(:,:,1)
I have seen this in a program code, but don't know what it means. Say for example, for any matrix W, W(:,:,1). I know W(:,:) i...

12 years 前 | 1 个回答 | 0

1

个回答

提问


adding a sequence of matrices
How can I add G number of matrices? I mean I need to sum G number of matrices. For example: G=3, so, x1=[1 2 3 4; 2 3 4 5], x2=[...

12 years 前 | 1 个回答 | 0

1

个回答

提问


partitioning a matrix based on another
I have two matrices,say, X=[1 2 2; 2 3 3; 3 5 5 ;6 1 2; 3 4 3] and ng=[2;3]. I want to partition X based on ng, i.e. x1=[1 2 ...

12 years 前 | 2 个回答 | 0

2

个回答

提问


repeating elements of a vector
I have two vectors, say lambda=[1; 2] and ng=[3;4]. I want to have a long vector where the elements of lambda are repeated the c...

12 years 前 | 4 个回答 | 0

4

个回答

提问


grouped data: generating a random error with zero group mean
I have a variable 'group' with 20 distinct values randomly assigned for 8000 observations. I need to generate a random error ter...

12 years 前 | 1 个回答 | 0

1

个回答

提问


generating a sequence 1,2,3,4,....,n
Without using a for loop, how can I generate an index 1,2,3,...,n?

12 years 前 | 2 个回答 | 0

2

个回答

提问


sorting a matrix in descending order
I have a matrix group = 0 0 0 1 0 1 0 0 0 0 1 0 0 1 0 ...

12 years 前 | 2 个回答 | 0

2

个回答

提问


interaction dummies
I have two variables, time (T) with two values and region (R) with 10 values, and thus two sets of dummy variables. how can I ge...

12 years 前 | 2 个回答 | 0

2

个回答

提问


creating a variable to use for grouping data
I want to create a variable (a column vector) with a specific length (8000), containing values 1 to 10 randomly assigned and wit...

12 years 前 | 1 个回答 | 0

1

个回答

提问


removing skewness of a variable
I want to transform the residuals that I got from a regression to have 0 skewness. Say this is res, when I computed skewness(res...

12 years 前 | 0 个回答 | 0

0

个回答

提问


removing skewness of a variable
I have a variable with specific skewness. How to correct the variable to have 0 skewness?

12 years 前 | 1 个回答 | 0

1

个回答

提问


deleting selective multiple rows from a data matrix
I want to delete rows of a matrix depending on some specific values of one of its columns. Say, if A=[1,2,3,1;5,6,7,2;9,10,11,...

12 years 前 | 2 个回答 | 0

2

个回答