01-15-2016 12:01 PM - edited 01-15-2016 12:38 PM
I was trying to model the climate data (temperature) trend over time for combined sites using LMM Proc Mixed. I have 60 sites. For each site I have temperature data from 1950-2000. I would like to see if the temperature trend is increasing or decreasing for all this 60 plot. To do this I would like to apply Proc Mixed. I have written the following code but its not working. There is no result at all. There is an error called "ERROR 180-322: Statement is not valid or it is used out of proper order."Can you please help me. Thanks
proc mixed data= climate data; plot year temp; model year = plot temp plot*temp; run;
01-15-2016 12:07 PM
When code is "not working" please describe how it is not working or any symptoms.
If there are error messages post the entire error message, preferably with the log contents.
Is there no result at all? Are the results unexpected? Provide example data that duplicates the behavior if you cannot provide the actual data. Describe how the results are unexpected?
01-15-2016 12:10 PM
01-15-2016 01:17 PM
01-15-2016 04:00 PM
And in obnoxious data mode (mine) - Are the sites where the data is measured exactly the same over the entire period time?
One reason to ask is that many municipal temperature datasets have earlier data collected at the city hall or main post office but when an airport was built, or became a certain size, the location was moved to the airport. The asphalt/concrete and limited vegetation around airports tend to have a different temperature regime than the previous site.
There is a commercially available data source with solar radiation data from the 1960's to 1990's that if not concerned carefully shows a noticeable "global dimming trend" as the instruments were often not well cleaned after installation and accumulated grime obstructed part of the measurement. So I implore folks to "Know thine instruments" before doing any modeling.
01-15-2016 04:12 PM
Need further help from the community? Please ask a new question.