List of Contributions

Eugenio Gonzalez

Contact Details

My Content

1 to 20 of 45 total
Posted By Eugenio Gonzalez Fri October 27, 2023 02:39 PM
Found In Egroup: SPSS Statistics
\ view thread
I think this would work as well and not require creating additional variables or manual intervention. I hope this helps. data list / contacts 1-32 (a). begin data. PersA;PersB PersC;PersD ; end data. compute lencontacts = LENGTH(ltrim(rtrim(contacts))). string name (a64). compute ...
Posted By Eugenio Gonzalez Wed October 18, 2023 09:47 AM
Found In Egroup: SPSS Statistics
\ view thread
Thank you, Jon. One of the users of our program sent this, and reported using v29, so I thought it had not been fixed. But this was a false alarm. I tried it and this has been resolved. Apologies for the false alarm... E.
Posted By Eugenio Gonzalez Wed October 18, 2023 06:52 AM
Found In Egroup: SPSS Statistics
\ view thread
problem solved. please ignore. thank you! E. This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, ...
Posted By Eugenio Gonzalez Thu August 31, 2023 09:54 PM
Found In Egroup: SPSS Statistics
\ view thread
Thank you, Jon. Attached is the file referenced. I still use v27, so I have no problems. The font issue is being reported by users of programs we distribute that creates output using REPORT. E.
Posted By Eugenio Gonzalez Thu August 31, 2023 11:39 AM
Found In Egroup: SPSS Statistics
\ view thread
Hi, I am noticing that in v29, the table in the attached does not display properly when using the "Monospaced" font. I have to switch the font for text output to "Courier New" to get proper spacing. The attached was created with v27 and it displays proper spacing with either "Monospaced" or "Courier ...
Posted By Eugenio Gonzalez Thu August 24, 2023 04:48 PM
Found In Egroup: SPSS Statistics
\ view thread
I think something like this should work: data list / name (a8). begin data. Name A Name B Name C end data. list var = all. loop day = 1 to 31. xsave outfile = "c:\temp\test.sav". end loop. execute. get file = "c:\temp\test.sav". list var = all. You then do a table ...
Posted By Eugenio Gonzalez Tue October 04, 2022 09:38 AM
Found In Egroup: SPSS Statistics
\ view thread
Thank you, John. Will give it a try.
Posted By Eugenio Gonzalez Sun October 02, 2022 10:50 AM
Found In Egroup: SPSS Statistics
\ view thread
hi, when i run the following code on the attached file, i am not able to edit the graph to make it display the values for Finland 2011 and Finland 2021. it does display all other values. Finland is missing mnx for 2006. get file = "C:\Temp\Test\samplefile.sav". graph / line(multiple)=mean(mnx) ...
Posted By Eugenio Gonzalez Sun October 02, 2022 10:49 AM
Found In Library: SPSS Statistics
#SPSSStatistics
Posted By Eugenio Gonzalez Fri August 05, 2022 07:27 AM
Found In Egroup: SPSS Statistics
\ view thread
look into the command varstocases (see: https://www.spss-tutorials.com/spss-varstocases-what-and-why/). this should do it. SPSS VARSTOCASES - What and Why Result SPSS VARSTOCASES - Wrong Results. In our second example, we placed two variables on top of each other in one new variable.Both input variables ...
Posted By Eugenio Gonzalez Thu June 23, 2022 10:59 AM
Found In Egroup: SPSS Statistics
\ view thread
something like the following will do what you are asking to do (you will need to retype it making sure there is at least one space before the !do, !doend and !concat and eliminating any 'strange' characters that the email might be introducing in the text). * start. define !doit(). new file. input ...
Posted By Eugenio Gonzalez Tue May 10, 2022 11:34 AM
Found In Egroup: SPSS Statistics
\ view thread
Hi, A "quick" question... I have the following code: do if (refgroup <> compgroup). if (pctdiff_se > 0) pctdiff_t = pctdiff / pctdiff_se. end if. When either refgroup or compgroup are missing, either system or user defined, the IF is not executed. You can see the behavior ...
Posted By Eugenio Gonzalez Thu April 28, 2022 10:05 AM
Found In Egroup: SPSS Statistics
\ view thread
you always want to test for differences at baseline, particularly with small sample sizes. never assume that a small random selection gives you equivalent samples. in fact, you might even want to add the baseline variance to the after treatment variance for your significance testing. ------------ ...
Posted By Eugenio Gonzalez Fri February 25, 2022 05:21 PM
Found In Egroup: SPSS Statistics
\ view thread
thank you luois! the @@time/date@@ syntax is gold. very useful. i am actually using GRAPH (not GGRAPH), but the @@ works with GRAPH as well and gives me much more flexibility that i had anticipated. thank you! ​​ ------------------------------ Eugenio Gonzalez ----------------------------- ...
Posted By Eugenio Gonzalez Fri February 25, 2022 04:41 PM
Found In Egroup: SPSS Statistics
\ view thread
thank you jon! the other interesting thing is that the footnotes in the GRAPHs show up centered, even though the manual states that by default they would be left justified. i have not found a way to change this. ------------------------------ Eugenio Gonzalez ------------------------------
Posted By Eugenio Gonzalez Fri February 25, 2022 03:50 PM
Found In Egroup: SPSS Statistics
\ view thread
Hi, Within a CTABLE command, I am using caption = 'Created on )DATE at )TIME' and I get the following: Created on 2/25/2022 at 3:18:19 PM Immediately following this, I have a GRAPH command using / footnote = ' Created on )DATE at )TIME' and I get the following: Created on ...
Posted By Eugenio Gonzalez Mon January 31, 2022 09:34 AM
Found In Egroup: SPSS Statistics
\ view thread
an alternative to jon's suggestion would to use: compute score = var1 + var2 +var3. or better yet: compute score =sum.3(var1 to var3) in both cases, the result will be set to missing if any of the values are missing for var1 to var3. ------------------------------ Eugenio Gonzalez - ...
Posted By Eugenio Gonzalez Thu January 20, 2022 09:33 AM
Found In Egroup: SPSS Statistics
\ view thread
in general, you would be better off using "recode... into" instead of simply "recode". if you need to keep the original variable name(s), you could then save the file with the recoded variable(s) under a new name, or you could rename the original variables before doing the recode. but in general, it ...
Posted By Eugenio Gonzalez Wed November 10, 2021 06:12 PM
Found In Egroup: SPSS Statistics
\ view thread
I see. Good catch. It also does not work with 1 variable. We'll wait to hear from the IBMers to see if this is by design.
Posted By Eugenio Gonzalez Tue November 09, 2021 09:33 PM
Found In Egroup: SPSS Statistics
\ view thread
And here is the syntax embedded within the message. * Encoding: windows-1252. echo "Example #1". new file. get file = "C:\Temp\PIRLS2016RecodedVars_CatVarStats.sav" / keep = varname minimum maximum. list vars = all. sort cases by Varname. casestovars index = Varname. list vars = ...