Hi All,
I have the following dataset. test2=sums_of_squares_weight/total_passenger_perday_adjusted gives a desirable vectorized output. However, test1=total_passenger_perday/total_passenger_perday_adjusted gives a constant. I am not sure what is unique with columns 2 and 3. Could this be a bug?
sums_of_squares_weight total_passenger_perday total_passenger_perday_adjusted test2 test1
.0711111 61 183 .0003886 .3333333
.0711111 61 183 .0003886 .3333333
.0711111 61 183 .0003886 .3333333
.0711111 14 42 .0016931 .3333333
.0711111 14 42 .0016931 .3333333
.0711111 14 42 .0016931 .3333333
30.23162 5523 16569 .0018246 .3333333
30.23162 5523 16569 .0018246 .3333333
30.23162 5523 16569 .0018246 .3333333
30.23162 2414 7242 .0041745 .3333333
Any hint will be much appreciated!
Related Posts with Vectorized division
Quantitative independent variable with empty cellsHi, I am doing a logistic regression analysis with a binary outcome. I have an independent variable…
Counting frequencies of one variable for each value of another variableHello Statalist, I am working with a labor force survey in which each observation represents an ind…
Error Code: Repeaded Time Values Within PanelAll, Good morning. I am working with panel data from NBER's CPS that I've boiled down to 56,166 obs…
Help for analysing DatasetHi there, I have a dataset of 200'000 observations consisting of customer IDs for 14 years. I have …
replacing word in variable labels that shows up in different positionsIn some of my variable labels I have a word I would like to replace by another word. However, the wo…
Subscribe to:
Post Comments (Atom)
0 Response to Vectorized division
Post a Comment