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
Stata margins command (atmeans) for one standard deviation changeHi everyone, I am currently writing my Bachelor thesis and need some help with the margins command.…
Reference class in latent class logitHello Statalist. I'm using the command lclogit2 (written by Hong Il Yoo) to fit a model with the re…
Creating variablesDear Stata forum members, I would like some help with the creation of certain variables. The varia…
Non proportionality of Cox model, using piece-wise constant exponential model insteadHi, I am studying union formation and dissolution of first and second-generation immigrants in the h…
Multiple regression analysis bachelor thesis HelpDear Stata experts, I currently am writing my bachelor thesis regarding the topic International Joi…
Subscribe to:
Post Comments (Atom)
0 Response to How to convert a scalar value into a large matrix
Post a Comment