|
There are often two periods at the end of a command after a lot of editing, eg: t-test groups = row (4,5) / var = yield grams.. . . but I’ve never had this happen before: Warnings Text: grams. Command: t-test An undefined variable name, or a scratch or system variable was specified in a variable list which accepts only standard variables. Check spelling and verify the existence of this variable. Execution of this command stops t-test groups = row (4,5) / var = yield grams. . . works if there’s only a single period. I’m on SPSS 23 using Windows 10 Yes, I’m supposed to be a survey researcher, but it’s the summer silly season. I am working on tutorial ideas (complete with photographs) using my 2015 potato crop to explain, for each seed potato planted, variation in number of new potatoes [yield] and weight of crop [grams] for each potato planted, depending on potato varieties and where they were planted. Unfortunately I’d already lifted the Charlotte and Mona Lisa, so these figures are for Désirée only, and only partial as I’d already lifted 7 of 11 plants in row 5 and both rows of Roseval before I realised the scales weren’t working properly. (They were on bare soil, but worked correctly when I placed a tile underneath them). There are still 3 rows of Maris Piper and 2 of Belle de Fontenay to lift, so there should be some decent data to analyse. I recorded the yield for the 7 missing Désirée weights, so I could always make up 7 random handfuls, equal in number to the originals, and weigh them again. I can use the photos to check composition of each original yield, then sample as close as possible from the main batch (without replacement.) How’s that for imputation! Ditto for 22 Roseval, but I don’t know which row they were in (photos may help reconstruct something close). At least the imputed data would be comparable with data for Désirée and other varieties for counts, means, variance, t-test and anova purposes. Final *.sav file might be called SPUD-U-LIKE.sav.
[NB: type covers onions, leeks, garlic etc, so not really relevant: I only did this originally as an aide-mémoire for what I planted and where] Now, where did I put my last two tins of Old Speckled Hen? John F Hall (Mr) [Retired academic survey researcher] Email: [hidden email] Website: www.surveyresearch.weebly.com SPSS start page: www.surveyresearch.weebly.com/1-survey-analysis-workshop |
|||||||||||||||||||||||||||||||
|
Administrator
|
John, it's a little hard to determine from your post if you actually worked out what the problem was. Note that 'grams. ' is a legal variable name in current versions of SPSS (see example below), but no such variable exists in your data file. Hence the error--i.e., the first period is being treated as part of the variable name, and the second period as the command terminator.
DATA LIST free / grams (F1). BEGIN DATA. 1 2 3 4 5 END DATA. DESCRIPTIVES grams.. RENAME VARIABLES (grams = grams.). DESCRIPTIVES grams.. In that example, the first DESCRIPTIVES command generates a warning, but the second does not. HTH, and enjoy that OSH.
--
Bruce Weaver bweaver@lakeheadu.ca http://sites.google.com/a/lakeheadu.ca/bweaver/ "When all else fails, RTFM." PLEASE NOTE THE FOLLOWING: 1. My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above. 2. The SPSSX Discussion forum on Nabble is no longer linked to the SPSSX-L listserv administered by UGA (https://listserv.uga.edu/). |
|
In reply to this post by John F Hall
Well, the syntax says to use a variable
named "grams.", which probably doesn't exist.
Jon Peck (no "h") aka Kim Senior Software Engineer, IBM [hidden email] phone: 720-342-5621 From: John F Hall <[hidden email]> To: [hidden email] Date: 08/18/2015 02:41 AM Subject: [SPSSX-L] Double period caused warning Sent by: "SPSSX(r) Discussion" <[hidden email]> There are often two periods at the end of a command after a lot of editing, eg:
t-test groups = row (4,5) / var = yield grams..
. . but I’ve never had this happen before:
Warnings Text: grams. Command: t-test An undefined variable name, or a scratch or system variable was specified in a variable list which accepts only standard variables. Check spelling and verify the existence of this variable. Execution of this command stops t-test groups = row (4,5) / var = yield grams.
. . works if there’s only a single period.
I’m on SPSS 23 using Windows 10
Yes, I’m supposed to be a survey researcher, but it’s the summer silly season. I am working on tutorial ideas (complete with photographs) using my 2015 potato crop to explain, for each seed potato planted, variation in number of new potatoes [yield] and weight of crop [grams] for each potato planted, depending on potato varieties and where they were planted. Unfortunately I’d already lifted the Charlotte and Mona Lisa, so these figures are for Désirée only, and only partial as I’d already lifted 7 of 11 plants in row 5 and both rows of Roseval before I realised the scales weren’t working properly. (They were on bare soil, but worked correctly when I placed a tile underneath them). There are still 3 rows of Maris Piper and 2 of Belle de Fontenay to lift, so there should be some decent data to analyse. I recorded the yield for the 7 missing Désirée weights, so I could always make up 7 random handfuls, equal in number to the originals, and weigh them again. I can use the photos to check composition of each original yield, then sample as close as possible from the main batch (without replacement.) How’s that for imputation!
Ditto for 22 Roseval, but I don’t know which row they were in (photos may help reconstruct something close). At least the imputed data would be comparable with data for Désirée and other varieties for counts, means, variance, t-test and anova purposes.
Final *.sav file might be called SPUD-U-LIKE.sav.
[NB: type covers onions, leeks, garlic etc, so not really relevant: I only did this originally as an aide-mémoire for what I planted and where]
Now, where did I put my last two tins of Old Speckled Hen?
John F Hall (Mr) [Retired academic survey researcher]
Email: johnfhall@... Website: www.surveyresearch.weebly.com SPSS start page: www.surveyresearch.weebly.com/1-survey-analysis-workshop
===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@...(not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD
|
|||||||||||||||||||||||||||||||
|
In reply to this post by Bruce Weaver
Bruce
See answer to Steve. May save OSH for special occasion as France have now banned the tins from sale. I thought it might be because of rats urinating on the pallets in the warehouse, but it's because of some suspect carcinogen in the printing on the tins. Shame, as price difference from UK made trips to Cherbourg and Caen-Ouistreham worth it for 5 or more cases of 24 x 50cl. Looks like I'm stuck with 10 litre boxes of Côtes du Rhône instead, but a drop of Picon plus 2 x 25 cl bottles of Kronenbourg blonde is a passable alternative. John -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Bruce Weaver Sent: Tuesday, August 18, 2015 1:17 PM To: [hidden email] Subject: Re: Double period caused warning John, it's a little hard to determine from your post if you actually worked out what the problem was. Note that 'grams. ' is a legal variable name in current versions of SPSS (see example below), but no such variable exists in your data file. Hence the error--i.e., the first period is being treated as part of the variable name, and the second period as the command terminator. DATA LIST free / grams (F1). BEGIN DATA. 1 2 3 4 5 END DATA. DESCRIPTIVES grams.. RENAME VARIABLES (grams = grams.). DESCRIPTIVES grams.. In that example, the first DESCRIPTIVES command generates a warning, but the second does not. HTH, and enjoy that OSH. John F Hall wrote > There are often two periods at the end of a command after a lot of > editing, > eg: > > t-test groups = row (4,5) / var = yield grams.. > > . . but I’ve never had this happen before: > > Warnings > _____ > > Text: grams. Command: t-test > An undefined variable name, or a scratch or system variable was > specified in a variable list which accepts only standard variables. > Check spelling and verify the existence of this variable. > Execution of this command stops > _____ > > t-test groups = row (4,5) / var = yield grams. > > . . works if there’s only a single period. > > I’m on SPSS 23 using Windows 10 > > Yes, I’m supposed to be a survey researcher, but it’s the summer silly > season. I am working on tutorial ideas (complete with photographs) > using my > 2015 potato crop to explain, for each seed potato planted, variation > in number of new potatoes [yield] and weight of crop [grams] for each > potato planted, depending on potato varieties and where they were planted. > Unfortunately I’d already lifted the Charlotte and Mona Lisa, so these > figures are for Désirée only, and only partial as I’d already lifted 7 > of > 11 > plants in row 5 and both rows of Roseval before I realised the scales > weren’t working properly. (They were on bare soil, but worked > correctly when I placed a tile underneath them). There are still 3 > rows of Maris Piper and 2 of Belle de Fontenay to lift, so there > should be some decent data to analyse. I recorded the yield for the 7 > missing Désirée weights, so I could always make up 7 random handfuls, > equal in number to the originals, and weigh them again. I can use the > photos to check composition of each original yield, then sample as > close as possible from the main batch (without replacement.) How’s > that for imputation! > > Ditto for 22 Roseval, but I don’t know which row they were in (photos > may help reconstruct something close). At least the imputed data > would be comparable with data for Désirée and other varieties for > counts, means, variance, t-test and anova purposes. > > Final *.sav file might be called SPUD-U-LIKE.sav. > > > Variable Labels > > Variable > Position > Label > > plot > 1 > Plot grown on > > row > 2 > Row grown on > > variety > 3 > Variety > > position > 4 > Position in row > > type > 5 > Type of plant > > yield > 6 > Number per plant > > grams > 7 > Weight of yield per plant > > Variables in the working file > > [NB: type covers onions, leeks, garlic etc, so not really relevant: I > only did this originally as an aide-mémoire for what I planted and > where] > > Now, where did I put my last two tins of Old Speckled Hen? > > John F Hall (Mr) > [Retired academic survey researcher] > > Email: <mailto: > johnfhall@ > > > johnfhall@ > > Website: <http://www.surveyresearch.weebly.com/> > www.surveyresearch.weebly.com > SPSS start page: > <http://surveyresearch.weebly.com/1-survey-analysis-workshop.html&g > t; www.surveyresearch.weebly.com/1-survey-analysis-workshop > > > > > ===================== > To manage your subscription to SPSSX-L, send a message to > LISTSERV@.UGA > (not to SPSSX-L), with no body text except the command. To leave the > list, send the command SIGNOFF SPSSX-L For a list of commands to > manage subscriptions, send the command INFO REFCARD ----- -- Bruce Weaver [hidden email] http://sites.google.com/a/lakeheadu.ca/bweaver/ "When all else fails, RTFM." NOTE: My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above. -- View this message in context: http://spssx-discussion.1045642.n5.nabble.com/Double-period-caused-warning-tp5730461p5730463.html Sent from the SPSSX Discussion mailing list archive at Nabble.com. ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
| Free forum by Nabble | Edit this page |
