Say I have a value of 2
How can I convert this into say a [50,1] matrix such that it is the same size to do some addition/subtraction with my other matrix
Currently I only know using mat X = (2\2\2\2), but I don't want to have to forward slash 50 times, is there a faster way?
Related Posts with How to convert a scalar value into a large matrix
Difference-in-difference with multiple treatments and multiple time periodsDear Statalisters, I have job level data and I am trying to estimate the impact of US state labor r…
Panel data regression with high coefficients valuesDear All I have estimated a panel regression with command ' xtreg, fe cluster(id)'. (22 panels and …
Duplicates HelpI'm starting a new thread (old one was: https://www.statalist.org/forums/for...ific-duplicate) but I…
STATA commands for PSTR modelHi Team Can STATA 14 run PSTR model? If it does can someone assist with the commands please. …
Out-of-sample R2 forecastingHi everyone. Im currently writing my thesis and got advised to compare In-sample vs Out-of-sample p…
Subscribe to:
Post Comments (Atom)
0 Response to How to convert a scalar value into a large matrix
Post a Comment