04-05-2023
Davejones
Obsidian | Level 7
Member since
02-13-2023
- 16 Posts
- 0 Likes Given
- 2 Solutions
- 0 Likes Received
-
Latest posts by Davejones
Subject Views Posted 2145 03-08-2023 10:09 PM 794 03-07-2023 04:37 PM 2189 03-03-2023 04:38 PM 837 03-02-2023 03:40 PM 2224 03-02-2023 03:10 PM 2244 03-02-2023 12:09 PM 891 03-01-2023 11:08 PM 2289 03-01-2023 10:57 PM 835 02-15-2023 03:36 PM 859 02-15-2023 01:52 PM -
Activity Feed for Davejones
- Posted Re: How to do proc glm analysis if the values of some independent variables are 0? on Graphics Programming. 03-08-2023 10:09 PM
- Posted Re: How to do GLMSelect without picking up non-significant variables? on SAS Programming. 03-07-2023 04:37 PM
- Posted Re: How to do proc glm analysis if the values of some independent variables are 0? on Graphics Programming. 03-03-2023 04:38 PM
- Posted Re: How to do GLMSelect without picking up non-significant variables? on SAS Programming. 03-02-2023 03:40 PM
- Posted Re: How to do proc glm analysis if the values of some independent variables are 0? on Graphics Programming. 03-02-2023 03:10 PM
- Posted Re: How to do proc glm analysis if the values of some independent variables are 0? on Graphics Programming. 03-02-2023 12:09 PM
- Posted How to do GLMSelect without picking up non-significant variables? on SAS Programming. 03-01-2023 11:08 PM
- Posted How to do proc glm analysis if the values of some independent variables are 0? on Graphics Programming. 03-01-2023 10:57 PM
- Posted Re: How to compare two or more slopes/coefficients in proc GLM? on Graphics Programming. 02-15-2023 03:36 PM
- Posted Re: How to compare two or more slopes/coefficients in proc GLM? on Graphics Programming. 02-15-2023 01:52 PM
- Posted How to compare two or more slopes/coefficients in proc GLM? on Graphics Programming. 02-15-2023 12:31 PM
- Posted Re: How to change variable/legend name in Y axis Female_LT50 to Female LT^(sub 50)? on Graphics Programming. 02-15-2023 12:14 PM
- Posted Re: How to change variable/legend name in Y axis Female_LT50 to Female LT^(sub 50)? on Graphics Programming. 02-14-2023 09:36 AM
- Posted Re: How to change variable/legend name in Y axis Female_LT50 to Female LT^(sub 50)? on Graphics Programming. 02-14-2023 09:13 AM
- Posted Re: How to change variable/legend name in Y axis Female_LT50 to Female LT^(sub 50)? on Graphics Programming. 02-13-2023 10:09 PM
- Posted How to change variable/legend name in Y axis Female_LT50 to Female LT^(sub 50)? on Graphics Programming. 02-13-2023 10:03 PM
03-08-2023
10:09 PM
Thank you, Paige Miller!
... View more
03-07-2023
04:37 PM
Thanks Koen!
... View more
03-03-2023
04:38 PM
-Thanks! We assessed the ability of 50 age-matched insect lines/populations from 30 diverse geographic regions to survive infection. Median lethal times (LT50) were monitored using five replicates (20-30 insects each) per sex per insect line, and experiments were repeated at least twice. Some locations have more than one insect line collected, especially 10 insect lines from Tokyo, Japan. We want to know whether there are correlations/differences between LT50 and maximum temperature at 30 geographic regions/localities. There will be ten pairs of X, Y variables for the one Tokyo, Japan location as in the previous inserted figure. Should we use the average LT50 of 10 lines from Tokyo or show both? Another question, we tried to divide 50 insect lines into 8 biome groups, each group has 3-13 insect lines. How do we compare the group LT50 by using the original 10-15 replicates of each of 50 insect lines with replicate N numbers, or the mean LT50 of insect lines with line N numbers in 8 groups?
... View more
03-02-2023
03:40 PM
Thanks Koen for your help! As p>n, tried to use both Lasso and elasticnet, and got inconsistent outputs too.
... View more
03-02-2023
03:10 PM
Thank you so much for your help! Please find the inserted photo. The insect collector told us those ten lines were actually from two close regions of a big city. However, we want to study the environmental factors, from 0.5 degree of latitude and longitude grid database, may be related to LT50 values in 30 different worldwide sites for 50 insect lines. Therefore, it's may be reasonable to use the mean LT50 from that location to do correlation analyses? By the way, there is a good correlation between LT50 and 25-30C Tmax (p=0.0003).
... View more
03-02-2023
12:09 PM
Thanks for your help! I did LT50 assay for 50 insect lines with individual stock number, which were collected from 30 global locations and colored differently in the attached figure. At 30-35C maximum temperature, there is 0 or 1 days at 1/3 localities. Also, there are 10 insect lines with slightly different LT50s from a large city circled in yellow. My questions are: 1) how to analyze the data with "0" values in x variables circled in green color as "normality" concern? and 2) should we take the average LT50 value from those 10 lines from the same locality?
... View more
03-01-2023
11:08 PM
Hi Experts, Proc GLMselect model is based on AIC. however, it occasionally picks up non-significant variable in the final Parameter Estimates table. Is a better way to improve the "stepwise" selection method instead of pre-selecting the "p<0.05" variables? Thanks
... View more
03-01-2023
10:57 PM
Hi Experts: How to do proc GLM analysis between insect LT50s and days/year in relative humidity in 50 globe sites if the values of some independent variables are 0? Removing some of the correlated variables with 0, which SAS treats it as "missing data"' will affect the analyses on several other environmental factors...
... View more
02-15-2023
03:36 PM
Example 2.3 Analysis Using Fisher’s z Transformation The following statements request Pearson correlation statistics by using Fisher’s z transformation for the data set Fitness : proc corr data=Fitness nosimple fisher;
var weight oxygen runtime;
run; found above proc corr in https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/procstat/procstat_corr_examples03.htm . How to add Class "female LT50 or male LT50" to proc corr to check the effect of different % relative humidity on the slopes with LT50s?
... View more
02-15-2023
01:52 PM
Thanks Koen and how to code the following Fisher Z test in SAS ? Zr1-r2=(Z’1-Z’2)/((1/(N1-3)+ 1/(N2-3))1/2 Zcritical=±1.96 @sbxkoenk wrote: Hello, Usage Note 24177: Comparing parameters (slopes) from a model fit to two or more groups https://support.sas.com/kb/24/177.html In general ... Make use of CONTRAST or ESTIMATE statements !! The magical ESTIMATE (and CONTRAST) statements By Chris Daman on SAS Learning Post April 23, 2012 https://blogs.sas.com/content/sastraining/2012/04/23/the-magical-estimate-and-contrast-statements/ "Easy button" for ESTIMATE statements By Chris Daman on SAS Learning Post April 25, 2012 https://blogs.sas.com/content/sastraining/2012/04/25/easy-button-for-estimate-statements/ ESTIMATE Statements - the final installment By Chris Daman on SAS Learning Post May 2, 2012 https://blogs.sas.com/content/sastraining/2012/05/02/estimate-statements-the-final-installment/ How to write CONTRAST and ESTIMATE statements in SAS regression procedures? By Rick Wicklin on The DO Loop June 6, 2016 https://blogs.sas.com/content/iml/2016/06/06/write-contrast-estimate-statements-sas-regression-procedures.html Usage Note 24447: Examples of writing CONTRAST and ESTIMATE statements https://support.sas.com/kb/24/447.html Usage Note 67024: Using the ESTIMATE or CONTRAST statement or Margins macro to assess continuous variable effects in interactions and splines 67024 - Using the ESTIMATE or CONTRAST statement or Margins macro to assess continuous variable effects in interactions and splines (sas.com) When a model contains interactions, it is often of interest to assess the effect of one of the interacting variables. When the variable of interest is categorical, and therefore is specified in the CLASS statement, this is most easily done using the LSMEANS, SLICE, or LSMESTIMATE statement. But when the variable of interest is continuous, these statements cannot be used. Two procedures, LOGISTIC and PHREG, provide statements that can estimate the effect of increasing a continuous predictor by a specified number of units. However, when the modeled response is not binomial or a time to event, these procedures are not appropriate. Nevertheless, the HAZARDRATIO statement in PROC PHREG can still be used to provide contrast coefficients that can be used in CONTRAST or ESTIMATE statements to test or estimate the effect of a continuous predictor. This can be done for a continuous predictor involved in one or more interactions and even in constructed effects such as splines. In the case of generalized linear models that don’t use the identity link, it is important to note that the estimated effect using these coefficients is not a difference in response means. For these models, an alternative and generally easier solution is provided by the Margins macro, which can estimate the required difference in means. Both of these approaches are discussed and illustrated in this note. BR, Koen
... View more
02-15-2023
12:31 PM
Hi Experts, I got LT50 values under serval % relative humidity and did proc GLM analysis. How to write codes to compare slopes/coefficients among several condition groups to figure out whether there are significant differences although some groups have a significant p values? Thanks, Dave
... View more
02-15-2023
12:14 PM
Thanks and can those code be used for proc GLM, PLOTS=ALL, not a proc sgplot?
... View more
02-14-2023
09:36 AM
Ksharp, Thanks and I actually want to change "50" to subscript in the variables "LT50" in y axis in the proc GLM? Best, Dave
... View more
02-14-2023
09:13 AM
Hi Dan, Thank you for your help and I'm using ODS style=statistical, proc GLM data=LT50 plots all; not SGPLOT _____ %Macro LT50(var1, var2); proc glm data=LT50 plots=all; model &var1=&var2; run; _________
... View more
- Tags:
- proc glm
02-13-2023
10:09 PM
used Label Female_LT50 = 'Female LT^{sub 50}'; Showed in Y axis Female LT__SUB_50_SUB__
... View more