photo

wy6622


New York University

Active since 2016

Followers: 0   Following: 0

Message

Statistics

  • First Review
  • Thankful Level 3

View badges

Feeds

View by

Question


Finding row numbers of a matrix where certain column entries match a criterion
I have a 64x3 matrix C0 as below. I would like to look at row 63=[4 4 3], and for each j=1:3, find the row numbers of C0 such th...

5 years ago | 1 answer | 0

1

answer

Question


What is the reference category for mnrfit when response variable is a categorical array
I'm using mnrfit to estimate a binary logit model. The document says Y can be one of the following: An n-by-k matrix, where Y...

6 years ago | 2 answers | 0

2

answers

Question


Computing the median of a group except one member
I have a dataset of a variable x for S seasons of the same J firms (not ordered). I'd like to compute for each firm in each seas...

6 years ago | 1 answer | 0

1

answer

Question


Linearly "interpolate" a 1-dimensional vector
Hello, I have a vector of annual population figures for a number of years. I'd like to assume a linear growth and obtain the im...

6 years ago | 1 answer | 0

1

answer

Question


Trouble using integral in a nested f solve
I'm running an fsolve of a function which involves evaluating the integral of another function. Everything is a scalar in this p...

7 years ago | 0 answers | 0

0

answers

Question


Obtaining polynomial coefficients for a 3-D spline with data that are not a meshgrid
I have 200 of (y, x_1, x_2) and I'd like to fit a cubic smoothing spline of y on x_1 and x_2 to obtain the estimates of a_0, a_1...

7 years ago | 0 answers | 0

0

answers

Question


How to count the number of times a pair of values occurs in an N by 2 matrix?
I have 2 vectors A and B consisting of 1 and 2 and I'd like to count the number of times each pair (1,1), (1,2), (2,1) and (2,2)...

8 years ago | 1 answer | 0

1

answer