Feeds
질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 2 | 0
2
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 0 | 0
0
답변질문
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년 초과 전 | 답변 수: 0 | 0
0
답변질문
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년 전 | 답변 수: 1 | 0