STATA Sotfware – Generate a new variable( Linear Algebra)

Generate a new variable named d that is equal to the squared difference between the variable time at each occasion and the average of time for each subject.  The data is:  time sex  1       1  3       1  5      1  2      2 16     2 3       2 5      1 12    1  2      1

Looking for this or a Similar Assignment? Click below to Place your Order

Open chat