Displaying 1 result from an estimated 1 matches for "starpast".
Did you mean:
starpaste
2011 Dec 31
2
Very strange function() behaviour.
...n
matrix of coefficients pasted to tstats in brackets pasted to significance
stars.
If I go straight to the code INSIDE the function, it works 100% as it's
supposed to. The output matrix has the correct dimensions. However, if I
actually use the function, it'll do something like this.
fun.starpaste(3D matrix tstats,3D matrix coefficients) ::: CORRECT OUTPUT, 3
dimensional array.
fun.starpaste(1D numeric tstats, 1D numeric coefficients) ::: WRONG output,
output is a 3 dimensional array. And it'll keep returning a 3 dimensional
array (it'll be the correct 1 dimensional vector repeated...