"My aim is to use those lists as differents inputs for launching Do macros. "
Please clarify this concept?
Meanwhile search this list for Bootstrapping (except you are doing variables rather than cases. Same principle applies.
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me.
"Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"
This post has NOT been accepted by the mailing list yet.
This post was updated on .
Yes, I looked at this for bootstrapping (and at the end a python code allows me to randomly select a list of variables)
My aim is to launch several different bootstrapping and every time also with a different list of variables without pasting manually in list1 "indvars" a random list of names, then changing it in list2 etc.
SET TVARS NAMES.
***first OMS command just suppresses Viewer output***.
OMS /DESTINATION VIEWER=YES.
DATASET DECLARE bootstrap_example.
***select regression coefficients tables and write to data file***.
***Note that DIMNAMES values vary based on output language***.
***/COLUMNS SEQUENCE=[R2 C1] will achieve the same result in all languages***.
OMS /SELECT TABLES
/IF COMMANDS=['Logistic Regression'] SUBTYPES = ['Variables in the Equation']
/DESTINATION FORMAT=SAV OUTFILE='bootstrap_example'
/COLUMNS DIMNAMES=['Variables' 'Statistics']
items = set(['v1','v2','v3','v4','v5','v6','v7','v8','v9','v10'])
with open('file.csv', 'wb') as csvfile:
sampling = csv.writer(csvfile, delimiter=',')
for _ in range(10):