I will very much glad if I could receive help ,please.I am working on a plot level data to estimate yield of maize and revenue.
Revenue = Harvest * Price of quantity per unit.
This is the raw data for harvest.

Secondly this is the data for Price per Unit in(GHC) for the harvest,which I am interested in and the Unit(SAL14) below.The unit quantities are the same for both Harvest and Price Per unit Sold.
price.JPG
My question relates to the revenue.The issue is that I observed that the average revenue is very high after changing all the units to kilogram.
Basically, the harvest units are already converted by Harvard data verse(data source) and you can find it below.

My assumption is that 1 kilogram ==1000tonne
Similarly 1 kilogram==100 since they have already provided the conversions for the harvest .
This is the command i therefore used ,
gen maize_har=.
replace maize_har = maize_harvest*100 if CR13==1
But for the PRICE per Unit I understand I need to make them one unit but I am not sure how to go about it .
Two options tried,
1.)Option 1- use the same formular for the harvest
replace Price_GHC =Price_GHC *100 if SAL14==2
replace Price_GHC =Price_GHC *75 if SAL14==3
2.)Option 2) I used
the unit price for kilogram to multiply all .eg gen Rev=maize_har*60 where 60 is the Unit Price for Kilogram Harvest
outcome table

Even still i observed the figures are still high.
Question:What could i be doing wrong.
Is there a problem with the way i changed the harvest into Kilogram?
Is there a problem with the way I went about the price.I am not so sure about it.How can I go about the unit of the price since i have changed all the harvest to Kilogram.
Thank you for your response .
Revenue = Harvest * Price of quantity per unit.
This is the raw data for harvest.
Secondly this is the data for Price per Unit in(GHC) for the harvest,which I am interested in and the Unit(SAL14) below.The unit quantities are the same for both Harvest and Price Per unit Sold.
price.JPG
My question relates to the revenue.The issue is that I observed that the average revenue is very high after changing all the units to kilogram.
Basically, the harvest units are already converted by Harvard data verse(data source) and you can find it below.
My assumption is that 1 kilogram ==1000tonne
Similarly 1 kilogram==100 since they have already provided the conversions for the harvest .
This is the command i therefore used ,
gen maize_har=.
replace maize_har = maize_harvest*100 if CR13==1
But for the PRICE per Unit I understand I need to make them one unit but I am not sure how to go about it .
Two options tried,
1.)Option 1- use the same formular for the harvest
replace Price_GHC =Price_GHC *100 if SAL14==2
replace Price_GHC =Price_GHC *75 if SAL14==3
2.)Option 2) I used
the unit price for kilogram to multiply all .eg gen Rev=maize_har*60 where 60 is the Unit Price for Kilogram Harvest
outcome table
Even still i observed the figures are still high.
Question:What could i be doing wrong.
Is there a problem with the way i changed the harvest into Kilogram?
Is there a problem with the way I went about the price.I am not so sure about it.How can I go about the unit of the price since i have changed all the harvest to Kilogram.
Thank you for your response .
Comment