# Prerna Mishra

**Statistics**

**MATLAB Answers**

**18** Questions

**0** Answers

RANK**205.348**

of 275.793

REPUTATION**0**

CONTRIBUTIONS

**18** Questions

**0** Answers

ANSWER ACCEPTANCE **
22.22%
**

VOTES RECEIVED**0**

RANK

of 18.575

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 125.588

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

**Content Feed**

Question

Returning multiple values in fminbnd

I am trying to solve a dynamic optimization problem in which I solve for optimxal capital and debt. The problem is structured su...

27 dagen ago | 0 answers | 0

### 0

answersQuestion

Method of moments using genetic optimization

I am trying to calibrate a model using simulated method of moments. I have a function f_SMM that calculates the model moments an...

2 maanden ago | 1 answer | 0

### 1

answerQuestion

Vector operation giving complex numbers

I am running the followng arithmetic. blog_mean = 0.5000; blog_var = 0.04; beta = .15; sigma = -1.14 x = blog_mean + ran...

5 maanden ago | 1 answer | 0

### 1

answerQuestion

2-d interpolation in matlab

I have a matrix v0 nd*nk*na, which depends on values of d, k and a. I want to interpolate the matrix v for values of d and k whi...

5 maanden ago | 1 answer | 0

### 1

answerQuestion

fminsearch error while optimizing over one value in neoclassical growth model

I am trying to solve the stochatic neoclassical growth model using fminsearch. My main function has the following code: clear a...

5 maanden ago | 1 answer | 0

### 1

answerQuestion

fminbnd error while solving the neoclassical growth model

I am using fminbnd to solve the neoclassical growth model and I have the following code for main.m clear all; close all; ti...

5 maanden ago | 0 answers | 0

### 0

answersQuestion

Numerical Double Integral in Matlab

I have to do the following integration in matlab b is log normally distributed and I have a vector of 100 random number for b...

6 maanden ago | 1 answer | 0

### 1

answerQuestion

Constrained regression with constrains on the slopes

I was the following regeression specification ln Q = ln A + alpha * ln K + beta * ln L I want to fins alpha and beta such t...

8 maanden ago | 1 answer | 0

### 1

answerQuestion

Calculating mean across a column and then subtracting it from all observations based on a row condition

I have a data frame that looks as follows: 1266 2005 247.694000000000 3.30900000000000 12.6660000000000 55.5250000000000 1266 ...

8 maanden ago | 1 answer | 0

### 1

answerQuestion

How do I use gaoptim toolbox?

How can I install Global Optimization Toolbox? I am trying to use gaoptimset but I keep getting the following error: 'gaoptimse...

8 maanden ago | 1 answer | 0

### 1

answerQuestion

How so subset observations in a matrix?

I have a matrix that has the follwing columns: [GVKEY FYEAR SALE ASSET] FYEAR ranges from 2005-2019 and there are many GVKEYs ...

8 maanden ago | 2 answers | 0

### 2

answersQuestion

How to get coordinates of largest element in an array?

I have an array RHSvec that looks as follows: RHSvec = [-2.37702213697260e+17 -2.33711662054550e+19 -615937600693473 -4.41919...

8 maanden ago | 2 answers | 0

### 2

answersQuestion

How to find the row and column of the largest number in an array?

Hello, I am new to matlab and I am stuck with this. If I have a matrix A as follows: 4.4347 4.5156 4.462 4.7074 1.111 .98...

8 maanden ago | 1 answer | 0

### 1

answerQuestion

Adding values along different dimensions in an array

I have an array kdsimind that has dimensions 5000X5000X35. I want to initialize is such that along the first dimension I have fl...

9 maanden ago | 0 answers | 0

### 0

answersQuestion

Add dimensions to a matrix

My RHSvec is a 51X21 matrix. kdpolind is 11X51X21. Doing the following: [RHSval,kprimeind] = max(RHSvec,[],2); gives me a 51...

9 maanden ago | 1 answer | 0

### 1

answerQuestion

Using ddp solve for optimization over two variables

I have a dynamic programming model, in which the Value of firm today depends on the productivity shock today, capital today, cap...

9 maanden ago | 0 answers | 0

### 0

answersQuestion

Extracting along a dimension in a 4D array

I have a 4D array of dimsension na*nk*nkprime*nd, each dimension representing, number of shock, number of capital today, number ...

9 maanden ago | 1 answer | 0

### 1

answerQuestion

fminsearch with integrals and parameters

I am new to using fminsearch in matlab. I want to find the minimum value of the following function: where For now, I assu...

11 maanden ago | 0 answers | 0