![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/3310281_1522094906758_DEF.jpg)
Rabeya
Univ of Manchester
Followers: 0 Following: 0
Rabeya
Professional Interests: research
Statistics
18 Questions
0 Answers
RANK
108,815
of 293,489
REPUTATION
0
CONTRIBUTIONS
18 Questions
0 Answers
ANSWER ACCEPTANCE
83.33%
VOTES RECEIVED
0
RANK
of 20,033
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 148,733
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
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 ago | 1 answer | 0
1
answerQuestion
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 ago | 1 answer | 0
1
answerQuestion
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 ago | 2 answers | 0
2
answersQuestion
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 ago | 0 answers | 0
0
answersQuestion
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 ago | 1 answer | 0
1
answerQuestion
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 ago | 2 answers | 0
2
answersQuestion
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 ago | 1 answer | 0
1
answerQuestion
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 ago | 1 answer | 0
1
answerQuestion
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 ago | 2 answers | 0
2
answersQuestion
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 ago | 4 answers | 0
4
answersQuestion
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 ago | 1 answer | 0
1
answerQuestion
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 ago | 2 answers | 0
2
answersQuestion
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 ago | 2 answers | 0
2
answersQuestion
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 ago | 2 answers | 0
2
answersQuestion
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 ago | 1 answer | 0
1
answerQuestion
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 ago | 0 answers | 0
0
answersQuestion
removing skewness of a variable
I have a variable with specific skewness. How to correct the variable to have 0 skewness?
12 years ago | 1 answer | 0
1
answerQuestion
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 ago | 2 answers | 0