<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7227623872230231508</id><updated>2026-09-26T07:24:54.071-07:00</updated><category term="Excel"/><category term="SPSS"/><category term="table"/><category term="Ctable"/><category term="data"/><category term="variables"/><category term="database"/><category term="missing"/><category term="stats"/><category term="Lookup"/><category term="MATCH"/><category term="Macro"/><category term="R"/><category term="age"/><category term="chisq"/><category term="compute"/><category term="free"/><category term="labels"/><category term="minhaj"/><category term="sample"/><category term="sampling"/><category term="software"/><category term="string"/><category term="surveyshare"/><category term="sysmis"/><category term="total"/><category term="ANOVA"/><category term="Access"/><category term="Ali"/><category term="CSPro"/><category term="Epidata"/><category term="FA"/><category term="IF"/><category term="Join"/><category term="KCC2013"/><category term="LIST"/><category term="VB"/><category term="addition"/><category term="aggregate"/><category term="analysis"/><category term="binary"/><category term="calculator"/><category term="causality"/><category term="cleaning"/><category term="compare"/><category term="confirmatory"/><category term="correlation"/><category term="data cleaning 101"/><category term="data dictionary"/><category term="data entry"/><category term="data migration"/><category term="data reduction"/><category term="date"/><category term="deletion"/><category term="dichotomous"/><category term="dictionary"/><category term="discrete"/><category term="display data as is"/><category term="dos"/><category term="dropping"/><category term="dummy"/><category term="effect size"/><category term="exploratory"/><category term="export"/><category term="factor analysis"/><category term="fields"/><category term="filter"/><category term="games"/><category term="import"/><category term="life-saver"/><category term="linking"/><category term="liswise"/><category term="mean"/><category term="mehmood"/><category term="migration"/><category term="misc"/><category term="missing values"/><category term="nominal"/><category term="pairwise"/><category term="psu"/><category term="python"/><category term="regression"/><category term="resources"/><category term="selectif"/><category term="sites"/><category term="split"/><category term="stat/transfer. DBMS Copy"/><category term="stata"/><category term="statistics"/><category term="subset"/><category term="sum"/><category term="syntax"/><category term="tests"/><category term="truncate"/><category term="unmet need"/><category term="update"/><category term="variable"/><category term="vlookup"/><category term="weight"/><title type='text'>Life with SPSS and other similar things</title><subtitle type='html'>I will try to collect all my SPSS/STATA and other stats notes here!!</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://spss-statistics.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://spss-statistics.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Azeema Faizunnisa</name><uri>http://www.blogger.com/profile/02947902937912894228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>77</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7227623872230231508.post-1952539803384089692</id><published>2016-07-30T00:15:00.001-07:00</published><updated>2016-07-30T00:15:51.725-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="life-saver"/><category scheme="http://www.blogger.com/atom/ns#" term="minhaj"/><category scheme="http://www.blogger.com/atom/ns#" term="psu"/><category scheme="http://www.blogger.com/atom/ns#" term="syntax"/><title type='text'>Creating new codes from one meta code</title><content type='html'>This is another life saver syntax that I learnt from Minhaj. Some datasets come with only one large code with various information. For example it is common to have PSU code which includes the information about the respondent&#39;s location, sex etc.&lt;br /&gt;
&lt;br /&gt;
Here is a syntax that can be modified.&lt;br /&gt;
&lt;br /&gt;
SET OVars Both ONumbers Both TVars Both TNumbers Both.&lt;br /&gt;
SET OVars Labels ONumbers Labels TVars Labels TNumbers Labels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
comp province = trunc (psu/100000).&lt;br /&gt;
comp temp = trunc (psu/10000).&lt;br /&gt;
*comp locality = temp - (province*10).&lt;br /&gt;
var lab province &#39;Province&#39;.&lt;br /&gt;
val lab province 1&#39;Punjab&#39; 2&#39;Sindh&#39; 3&#39;NWFP&#39; 4&#39;Balochistan&#39;.&lt;br /&gt;
&lt;br /&gt;
format province (f1.0).&lt;br /&gt;
&lt;div&gt;
fre province.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
In this syntax the point to note is that variable &quot;psu&quot; has 6 characters and the code for &quot;province&quot; is stored in position 1. Hence, it is divided by &quot;10000&quot; which will truncate the last 5 characters.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Author: Azeema&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spss-statistics.blogspot.com/feeds/1952539803384089692/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7227623872230231508/1952539803384089692' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/1952539803384089692'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/1952539803384089692'/><link rel='alternate' type='text/html' href='http://spss-statistics.blogspot.com/2016/07/creating-new-codes-from-one-meta-code.html' title='Creating new codes from one meta code'/><author><name>Azeema Faizunnisa</name><uri>http://www.blogger.com/profile/02947902937912894228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7227623872230231508.post-6915779242577035862</id><published>2016-02-03T04:46:00.004-08:00</published><updated>2016-02-03T04:46:59.613-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="data"/><title type='text'>More sources of social science data</title><content type='html'>Here is something you may consider to explore to see what social science data is available.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://github.com/caesar0301/awesome-public-datasets#social-sciences&quot; target=&quot;_blank&quot;&gt;Github Social Science data&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Author: Azeema&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spss-statistics.blogspot.com/feeds/6915779242577035862/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7227623872230231508/6915779242577035862' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/6915779242577035862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/6915779242577035862'/><link rel='alternate' type='text/html' href='http://spss-statistics.blogspot.com/2016/02/more-sources-of-social-science-data.html' title='More sources of social science data'/><author><name>Azeema Faizunnisa</name><uri>http://www.blogger.com/profile/02947902937912894228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7227623872230231508.post-5559815804249333253</id><published>2016-01-31T21:39:00.001-08:00</published><updated>2016-01-31T21:44:22.628-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ali"/><category scheme="http://www.blogger.com/atom/ns#" term="display data as is"/><category scheme="http://www.blogger.com/atom/ns#" term="LIST"/><title type='text'>&quot;LIST&quot; command to display the data</title><content type='html'>Yesterday I was at loss as I could not remember the &quot;LIST&quot; command to show or display the data &quot;as is&quot; rather than in aggregated form. Searched the internet and racked my brain for hours but all in vain. But thanks to Muhammad Ali, who sometimes helps in data entry, I was relieved of this torture this morning.&lt;br /&gt;
&lt;br /&gt;
It is a really simple command and that is why it was difficult to find it through good search. So, the command to show the data &quot;as it is&quot; present in the data file, here is the command.&lt;br /&gt;
&lt;br /&gt;
LIST [variable name(s)].&lt;br /&gt;
&lt;br /&gt;
This command is used a lot for data cleaning and for looking at string variables where you don&#39;t expect to get phrases/sentences/words that match with each other. This is also useful to list all the responses of one respondent side by side.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Author: Azeema&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spss-statistics.blogspot.com/feeds/5559815804249333253/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7227623872230231508/5559815804249333253' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/5559815804249333253'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/5559815804249333253'/><link rel='alternate' type='text/html' href='http://spss-statistics.blogspot.com/2016/01/list-command-to-display-data.html' title='&quot;LIST&quot; command to display the data'/><author><name>Azeema Faizunnisa</name><uri>http://www.blogger.com/profile/02947902937912894228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7227623872230231508.post-7622723018927614405</id><published>2014-12-20T05:06:00.003-08:00</published><updated>2014-12-20T05:06:59.109-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="minhaj"/><category scheme="http://www.blogger.com/atom/ns#" term="SPSS"/><category scheme="http://www.blogger.com/atom/ns#" term="weight"/><title type='text'>Weighting in SPSS</title><content type='html'>I learnt this from Minhaj.&lt;br /&gt;
&lt;br /&gt;
It is common in surveys to over or under sample and use weights later to compensate for such decisions. For example in Pakistan the largest province by population is undersampled while the smallest one, Balochistan is oversampled. In these case, for data analysis, it is critical that the cases are &quot;weighted.&quot;&lt;br /&gt;
&lt;br /&gt;
In the data files I have been using the weights are included in a variable which can be applied to use this technique. In the following example, the weight variable is labelled as &quot;weight.&quot;&lt;br /&gt;
&lt;br /&gt;
If you just multiply the cases by weight&lt;br /&gt;
WEIGHT BY &amp;nbsp;weight.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
The proportions in your data analysis come out right but not the Ns which means you need to apply not just the weight, but need to reduce the weight variable to represent each case. (it seems baffling until you do it). In order to do that, create a new weight variable, let&#39;s call it &quot;whi.&quot; For that you must divide the &quot;weight&quot; by the SUM of all the CASES and multiply by total number of cases. In this case the SUM=13557999999 and total cases=13558.&lt;br /&gt;&lt;br /&gt;
comp whi = (weight/13557999999) * 13558.&lt;br /&gt;
format whi (f16.11).&lt;br /&gt;
var lab whi &quot;Reduced weighted N to 13558&quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now WEIGHT your file again, with the new variable. The percentages and the Ns, both will come out right.&lt;br /&gt;
&lt;br /&gt;
weight &amp;nbsp;BY &amp;nbsp;whi.&lt;br /&gt;
&lt;br /&gt;
To turn off weight, use the following,&lt;br /&gt;
&lt;br /&gt;
WEIGHT OFF.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Author: Azeema&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spss-statistics.blogspot.com/feeds/7622723018927614405/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7227623872230231508/7622723018927614405' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/7622723018927614405'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/7622723018927614405'/><link rel='alternate' type='text/html' href='http://spss-statistics.blogspot.com/2014/12/weighting-in-spss.html' title='Weighting in SPSS'/><author><name>Azeema Faizunnisa</name><uri>http://www.blogger.com/profile/02947902937912894228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7227623872230231508.post-2302199785204971780</id><published>2013-05-01T02:21:00.001-07:00</published><updated>2013-05-01T02:21:38.095-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="binary"/><category scheme="http://www.blogger.com/atom/ns#" term="dichotomous"/><category scheme="http://www.blogger.com/atom/ns#" term="discrete"/><category scheme="http://www.blogger.com/atom/ns#" term="dummy"/><category scheme="http://www.blogger.com/atom/ns#" term="nominal"/><category scheme="http://www.blogger.com/atom/ns#" term="variable"/><title type='text'>Creating dummy variables (from UCLA site)</title><content type='html'>&lt;pre&gt;&lt;b&gt;* make dummies, method 1 .
COMPUTE race1=(race=1).
COMPUTE race2=(race=2).
COMPUTE race3=(race=3).
crosstabs /tables = race by race1 
          /tables = race by race2 
          /tables = race by race3.
&lt;/b&gt;
&lt;b&gt;* make dummies, method 2 .
DO REPEAT A=race1 race2 race3 /B=1 2 3.
COMPUTE A=(race=B).
END REPEAT.
crosstabs /tables = race by race1 
          /tables = race by race2 
          /tables = race by race3.&lt;/b&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;b&gt;http://www.ats.ucla.edu/stat/spss/code/dummy.htm&lt;/b&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/pre&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Author: Azeema&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spss-statistics.blogspot.com/feeds/2302199785204971780/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7227623872230231508/2302199785204971780' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/2302199785204971780'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/2302199785204971780'/><link rel='alternate' type='text/html' href='http://spss-statistics.blogspot.com/2013/05/creating-dummy-variables-from-ucla-site.html' title='Creating dummy variables (from UCLA site)'/><author><name>Azeema Faizunnisa</name><uri>http://www.blogger.com/profile/02947902937912894228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7227623872230231508.post-1539944299457909177</id><published>2013-04-11T10:55:00.002-07:00</published><updated>2013-04-11T10:55:39.556-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="free"/><category scheme="http://www.blogger.com/atom/ns#" term="software"/><title type='text'>PSPP another data analysis software</title><content type='html'>you can download it for free &lt;a href=&quot;http://sourceforge.net/projects/pspp4windows/files/&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;. &lt;div class=&quot;blogger-post-footer&quot;&gt;Author: Azeema&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spss-statistics.blogspot.com/feeds/1539944299457909177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7227623872230231508/1539944299457909177' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/1539944299457909177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/1539944299457909177'/><link rel='alternate' type='text/html' href='http://spss-statistics.blogspot.com/2013/04/pspp-another-data-analysis-software.html' title='PSPP another data analysis software'/><author><name>Azeema Faizunnisa</name><uri>http://www.blogger.com/profile/02947902937912894228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7227623872230231508.post-4993129701827728596</id><published>2013-03-28T20:16:00.001-07:00</published><updated>2013-03-28T20:18:04.327-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="python"/><category scheme="http://www.blogger.com/atom/ns#" term="table"/><title type='text'>to explore more: Create a pivot table using Python</title><content type='html'>&lt;pre class=&quot;syntaxblock&quot;&gt;#Create a pivot table
        table = spss.BasePivotTable(&quot;Group Means&quot;,
                                    &quot;OMS table subtype&quot;)
        table.Append(spss.Dimension.Place.row,
                     spss.GetVariableLabel(groupIndex))
        table.Append(spss.Dimension.Place.column,
                     spss.GetVariableLabel(sumIndex))

        category2 = spss.CellText.String(&quot;Mean&quot;)
        for cat in sorted(Counts):
            category1 = spss.CellText.Number(cat)
            table[(category1,category2)] = \
                   spss.CellText.Number(Totals[cat]/Counts[cat])&lt;/pre&gt;
&lt;pre class=&quot;syntaxblock&quot;&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre class=&quot;syntaxblock&quot;&gt;Source: &lt;a href=&quot;http://pic.dhe.ibm.com/infocenter/spssstat/v21r0m0/index.jsp?topic=%2Fcom.ibm.spss.statistics.python.help%2Fpython_package_baseprocedure.htm&quot; target=&quot;_blank&quot;&gt;SPSS online help&lt;/a&gt;. &lt;/pre&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Author: Azeema&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spss-statistics.blogspot.com/feeds/4993129701827728596/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7227623872230231508/4993129701827728596' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/4993129701827728596'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/4993129701827728596'/><link rel='alternate' type='text/html' href='http://spss-statistics.blogspot.com/2013/03/to-explore-more-create-pivot-table.html' title='to explore more: Create a pivot table using Python'/><author><name>Azeema Faizunnisa</name><uri>http://www.blogger.com/profile/02947902937912894228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7227623872230231508.post-4919701313709979057</id><published>2013-03-22T12:11:00.002-07:00</published><updated>2013-03-22T12:11:40.282-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="R"/><title type='text'>Creating new variables with R</title><content type='html'>&lt;code&gt;# Three examples for doing the same computations&lt;br /&gt;
       &lt;br /&gt;
       mydata$sum &lt;- br=&quot;&quot; mydata=&quot;&quot; x1=&quot;&quot; x2=&quot;&quot;&gt;
      mydata$mean &lt;- br=&quot;&quot; mydata=&quot;&quot; x1=&quot;&quot; x2=&quot;&quot;&gt;
      &lt;br /&gt;
      attach(mydata)&lt;br /&gt;
      mydata$sum &lt;- br=&quot;&quot; x1=&quot;&quot; x2=&quot;&quot;&gt;
      mydata$mean &lt;- br=&quot;&quot; x1=&quot;&quot; x2=&quot;&quot;&gt;
      detach(mydata)&lt;br /&gt;
      &lt;br /&gt;
      mydata &lt;- br=&quot;&quot; mydata=&quot;&quot; transform=&quot;&quot;&gt;
      sum = x1 + x2,&lt;br /&gt;
mean = (x1 + x2)/2 &lt;br /&gt;
      )&amp;nbsp;&lt;/-&gt;&lt;/-&gt;&lt;/-&gt;&lt;/-&gt;&lt;/-&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;a href=&quot;http://www.statmethods.net/management/variables.html&quot; target=&quot;_blank&quot;&gt;Source &lt;/a&gt;for the above code. &lt;/code&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Author: Azeema&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spss-statistics.blogspot.com/feeds/4919701313709979057/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7227623872230231508/4919701313709979057' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/4919701313709979057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/4919701313709979057'/><link rel='alternate' type='text/html' href='http://spss-statistics.blogspot.com/2013/03/creating-new-variables-with-r.html' title='Creating new variables with R'/><author><name>Azeema Faizunnisa</name><uri>http://www.blogger.com/profile/02947902937912894228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7227623872230231508.post-3457896605055490348</id><published>2013-03-21T20:57:00.001-07:00</published><updated>2013-03-21T20:57:06.824-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="R"/><title type='text'>R help with read</title><content type='html'>&lt;a href=&quot;http://127.0.0.1:20062/library/base/html/Paren.html&quot; target=&quot;_blank&quot;&gt;help&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Author: Azeema&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spss-statistics.blogspot.com/feeds/3457896605055490348/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7227623872230231508/3457896605055490348' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/3457896605055490348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/3457896605055490348'/><link rel='alternate' type='text/html' href='http://spss-statistics.blogspot.com/2013/03/r-help-with-read.html' title='R help with read'/><author><name>Azeema Faizunnisa</name><uri>http://www.blogger.com/profile/02947902937912894228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7227623872230231508.post-8004704743934460125</id><published>2013-03-19T14:59:00.000-07:00</published><updated>2013-03-19T14:59:52.478-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dictionary"/><category scheme="http://www.blogger.com/atom/ns#" term="labels"/><category scheme="http://www.blogger.com/atom/ns#" term="variables"/><title type='text'>Copying value labels from an existing variable...</title><content type='html'>&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
  &lt;/w:Compatibility&gt;
  &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
 &lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;br /&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState=&quot;false&quot; LatentStyleCount=&quot;156&quot;&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
 {mso-style-name:&quot;Table Normal&quot;;
 mso-tstyle-rowband-size:0;
 mso-tstyle-colband-size:0;
 mso-style-noshow:yes;
 mso-style-parent:&quot;&quot;;
 mso-padding-alt:0in 5.4pt 0in 5.4pt;
 mso-para-margin:0in;
 mso-para-margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:10.0pt;
 font-family:&quot;Times New Roman&quot;;
 mso-ansi-language:#0400;
 mso-fareast-language:#0400;
 mso-bidi-language:#0400;}
&lt;/style&gt;
&lt;![endif]--&gt;

&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
OR you could use the values from another variable which
has the same labels.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
APPLY DICTIONARY&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;/FROM *&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;/SOURCE VARIABLES
= &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;b9a&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;/TARGET VARIABLES
=&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;occupf&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;/FILEINFO&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;/VARINFO ALIGNMENT
FORMATS LEVEL MISSING VALLABELS = REPLACE VARLABEL WIDTH .&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Author: Azeema&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spss-statistics.blogspot.com/feeds/8004704743934460125/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7227623872230231508/8004704743934460125' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/8004704743934460125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/8004704743934460125'/><link rel='alternate' type='text/html' href='http://spss-statistics.blogspot.com/2013/03/copying-value-labkles-from-existing.html' title='Copying value labels from an existing variable...'/><author><name>Azeema Faizunnisa</name><uri>http://www.blogger.com/profile/02947902937912894228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7227623872230231508.post-8551767597931505250</id><published>2012-12-13T13:16:00.001-08:00</published><updated>2012-12-13T13:16:25.443-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="missing values"/><title type='text'>Missing Values</title><content type='html'>&lt;pre class=&quot;syntaxblock&quot;&gt;You may have used the command MISSING VALUES in a file to declare a certain value(s) &lt;/pre&gt;
&lt;pre class=&quot;syntaxblock&quot;&gt;as missing, for example:&lt;/pre&gt;
&lt;pre class=&quot;syntaxblock&quot;&gt;
&lt;/pre&gt;
&lt;pre class=&quot;syntaxblock&quot;&gt;MISSING VALUES V1 (8,9)&lt;/pre&gt;
&lt;pre class=&quot;syntaxblock&quot;&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre class=&quot;syntaxblock&quot;&gt;Here the values 8,9 will be considered missing in the data and will not be included&amp;nbsp;&lt;/pre&gt;
&lt;pre class=&quot;syntaxblock&quot;&gt;in computations. &lt;/pre&gt;
&lt;pre class=&quot;syntaxblock&quot;&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre class=&quot;syntaxblock&quot;&gt;&amp;nbsp;But, sometimes you want those values back. One way would be to close the file and&amp;nbsp;&lt;/pre&gt;
&lt;pre class=&quot;syntaxblock&quot;&gt;reload but that is cumbersome. The short way to do that is:&lt;/pre&gt;
&lt;pre class=&quot;syntaxblock&quot;&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre class=&quot;syntaxblock&quot;&gt;MISSING VALUES V1 ().&lt;/pre&gt;
&lt;div class=&quot;bullet&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;bullet&quot;&gt;
The above command will remove any previously declared values from missing category to the data category.&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Author: Azeema&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spss-statistics.blogspot.com/feeds/8551767597931505250/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7227623872230231508/8551767597931505250' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/8551767597931505250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/8551767597931505250'/><link rel='alternate' type='text/html' href='http://spss-statistics.blogspot.com/2012/12/missing-values.html' title='Missing Values'/><author><name>Azeema Faizunnisa</name><uri>http://www.blogger.com/profile/02947902937912894228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7227623872230231508.post-656394676087915525</id><published>2012-11-08T12:49:00.003-08:00</published><updated>2012-11-08T12:53:10.196-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="KCC2013"/><category scheme="http://www.blogger.com/atom/ns#" term="stats"/><title type='text'>Non-parametric tests</title><content type='html'>Useful reviews of Non-parametric tests&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.une.edu.au/WebStat/unit_materials/c6_common_statistical_tests/nonparametric_test.html&quot;&gt;http://www.une.edu.au/WebStat/unit_materials/c6_common_statistical_tests/nonparametric_test.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.graphpad.com/support/faqid/1790/&quot;&gt;http://www.graphpad.com/support/faqid/1790/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.healthknowledge.org.uk/public-health-textbook/research-methods/1b-statistical-methods/parametric-nonparametric-tests&quot; target=&quot;_blank&quot;&gt;http://www.healthknowledge.org.uk/public-health-textbook/research-methods/1b-statistical-methods/parametric-nonparametric-tests &lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://changingminds.org/explanations/research/analysis/parametric_non-parametric.htm&quot;&gt;http://changingminds.org/explanations/research/analysis/parametric_non-parametric.htm&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Author: Azeema&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spss-statistics.blogspot.com/feeds/656394676087915525/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7227623872230231508/656394676087915525' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/656394676087915525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/656394676087915525'/><link rel='alternate' type='text/html' href='http://spss-statistics.blogspot.com/2012/11/non-parametric-tests.html' title='Non-parametric tests'/><author><name>Azeema Faizunnisa</name><uri>http://www.blogger.com/profile/02947902937912894228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7227623872230231508.post-2390855088291978031</id><published>2012-08-16T14:19:00.002-07:00</published><updated>2012-08-16T14:19:59.668-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cleaning"/><category scheme="http://www.blogger.com/atom/ns#" term="compare"/><category scheme="http://www.blogger.com/atom/ns#" term="data"/><category scheme="http://www.blogger.com/atom/ns#" term="data cleaning 101"/><title type='text'>Data Cleaning (draft entry)</title><content type='html'>My next post will be about Data Cleaning. I am not the expert on this but I know few things. One simple way&amp;nbsp; to do this is to compare data entered by 2 different people. The command in SPSS is called&lt;br /&gt;
&lt;br /&gt;
UPDATE FILE&lt;br /&gt;
&lt;br /&gt;
Here is an example from &lt;a href=&quot;http://www.ats.ucla.edu/stat/spss/faq/update.htm&quot; target=&quot;_blank&quot;&gt;UCLA site&lt;/a&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;b&gt;update file = &quot;D:\person1.sav&quot;
/in = flag1
/file = &quot;D:\person2.sav&quot;
/by all.
exe.&lt;/b&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;b&gt;More valuable information in this pdf.&amp;nbsp;&lt;/b&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;a href=&quot;http://www.ats.ucla.edu/stat/sas/library/nesug99/ss123.pdf&quot;&gt;&lt;b&gt;http://www.ats.ucla.edu/stat/sas/library/nesug99/ss123.pdf&lt;/b&gt;&lt;/a&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;b&gt;
&lt;/b&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;b&gt;Need to update this blog!! &lt;/b&gt;&lt;/pre&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Author: Azeema&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spss-statistics.blogspot.com/feeds/2390855088291978031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7227623872230231508/2390855088291978031' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/2390855088291978031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/2390855088291978031'/><link rel='alternate' type='text/html' href='http://spss-statistics.blogspot.com/2012/08/data-cleaning-draft-entry.html' title='Data Cleaning (draft entry)'/><author><name>Azeema Faizunnisa</name><uri>http://www.blogger.com/profile/02947902937912894228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7227623872230231508.post-1083399878436766771</id><published>2012-08-15T14:53:00.003-07:00</published><updated>2012-08-15T14:53:51.769-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="calculator"/><category scheme="http://www.blogger.com/atom/ns#" term="effect size"/><category scheme="http://www.blogger.com/atom/ns#" term="mean"/><category scheme="http://www.blogger.com/atom/ns#" term="sample"/><category scheme="http://www.blogger.com/atom/ns#" term="statistics"/><title type='text'>Effect Size</title><content type='html'>&lt;br /&gt;
&quot;Statistical significance only tells the researcher
    how likely it is that an observed finding could have occurred by chance. It
    does not say anything about magnitude of the effect observed. &lt;i&gt;Effect
    size&lt;/i&gt; is a name given to a group of statistics that measure the magnitude of
    a treatment effect. In many cases, effect size is a better measure of research
    outcomes than the significance level. This is because with large samples, one
    can observe statistically significant group differences even when only a tiny
    effect is present. Unlike significance tests, effect size indices are
    independent of sample size.&quot; source: &lt;a href=&quot;http://www.umdnj.edu/idsweb/shared/effect_size.htm&quot;&gt;http://www.umdnj.edu/idsweb/shared/effect_size.htm&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.cognitiveflexibility.org/effectsize/&quot; target=&quot;_blank&quot;&gt;Effect size calculator&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.campbellcollaboration.org/resources/effect_size_input.php&quot; target=&quot;_blank&quot;&gt;another calculator&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.polyu.edu.hk/mm/effectsizefaqs/calculator/calculator.html&quot; target=&quot;_blank&quot;&gt;another calculator&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Author: Azeema&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spss-statistics.blogspot.com/feeds/1083399878436766771/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7227623872230231508/1083399878436766771' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/1083399878436766771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/1083399878436766771'/><link rel='alternate' type='text/html' href='http://spss-statistics.blogspot.com/2012/08/effect-size.html' title='Effect Size'/><author><name>Azeema Faizunnisa</name><uri>http://www.blogger.com/profile/02947902937912894228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7227623872230231508.post-7836043003977995842</id><published>2012-08-14T12:44:00.003-07:00</published><updated>2021-06-16T17:12:35.799-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="data"/><category scheme="http://www.blogger.com/atom/ns#" term="database"/><category scheme="http://www.blogger.com/atom/ns#" term="free"/><category scheme="http://www.blogger.com/atom/ns#" term="software"/><title type='text'>Data/Software/information sources (free) </title><content type='html'>&lt;div class=&quot;post-header&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-758926861485580633&quot; itemprop=&quot;articleBody&quot;&gt;
This is a loose compilation of sources of meta data/journals/software 
etc. related to population and health, concerning international issues 
in general but in particular the USA and Pakistan. I think this can be 
potentially very useful for graduate students of these two countries.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.asianbarometer.org/newenglish/surveys/DataRelease.htm&quot; target=&quot;_blank&quot;&gt;Asian Barometer&lt;/a&gt; &lt;span style=&quot;font-size: small;&quot;&gt;&quot;The Asian Barometer (ABS) is an applied research program on 
     public opinion on political values, democracy, and 
     governance around the region. The regional network 
     encompasses research teams from 13 East Asian political 
     systems (Japan, Mongolia, South Koreas, Taiwan, Hong Kong, 
     China, the Philippines, Thailand, Vietnam, Cambodia, 
     Singapore, Indonesia, and Malaysia), and 5 South Asian countries 
     (India, Pakistan, Bangladesh, Sri Lanka, and Nepal).&quot;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Databases/software (free) for social sciences and public health:&lt;br /&gt;
&lt;a href=&quot;http://en.citizendium.org/wiki/Free_statistical_software#_note-idams&quot;&gt;http://en.citizendium.org/wiki/Free_statistical_software#_note-idams&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.bls.census.gov/ferretftp.htm&quot;&gt;&lt;br /&gt;Current Population Survey&lt;/a&gt; (CPS) Datasets for download (free; SAS format only)&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.hhs-stat.net/scripts/datafinder.cfm&quot;&gt;&lt;br /&gt;Department of Health and Human Services&lt;/a&gt; (HHS) Data Finder&lt;br /&gt;
&lt;a href=&quot;http://www.hhs-stat.net/scripts/datafinder.cfm&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-758926861485580633&quot; itemprop=&quot;articleBody&quot;&gt;
&lt;a href=&quot;http://data.worldbank.org/&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;span id=&quot;hpcContent&quot;&gt;The &lt;a href=&quot;http://www.norc.org/GSS+Website/&quot;&gt;General Social Survey&lt;/a&gt;
 (GSS) contains a standard &#39;core&#39; of demographic, behavioral, and 
attitudinal questions, plus topics of special interest. Many of the core
 questions have remained unchanged since 1972 to facilitate time-trend 
studies as well as replication of earlier findings. The GSS takes the 
pulse of America, and is a unique and valuable resource. It has tracked 
the opinions of Americans over the last four decades.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Download data (SPSS format) from &lt;a href=&quot;http://www.norc.org/GSS+Website/Download/SPSS+Format/&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;
&lt;a href=&quot;http://www.worldvaluessurvey.org/&quot;&gt;&lt;br /&gt;&lt;/a&gt;
Univ of Michigan Database of data files&lt;br /&gt;
&lt;a href=&quot;http://www.icpsr.umich.edu/icpsrweb/ICPSR/themes/index.jsp&quot;&gt;http://www.icpsr.umich.edu/icpsrweb/ICPSR/themes/index.jsp&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Princeton university &lt;a href=&quot;http://dss.priceton.edu/cgi-bin/dataresources/newdataresources.cgi?term=62&quot;&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_0&quot;&gt;Dataset&lt;/span&gt; sources for Pakistan&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-758926861485580633&quot; itemprop=&quot;articleBody&quot;&gt;&lt;/div&gt;&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-758926861485580633&quot; itemprop=&quot;articleBody&quot;&gt;&lt;br /&gt;&lt;span&gt;The &lt;a href=&quot; https://dash.nichd.nih.gov/&quot; target=&quot;_blank&quot;&gt;NICHD Data &lt;/a&gt;and Specimen Hub (DASH) is a centralized resource 
that allows researchers to share and access de-identified data from 
studies funded by NICHD. DASH also serves as a portal for requesting 
biospecimens from selected DASH studies.&lt;/span&gt;&lt;/div&gt;&amp;nbsp;&lt;br /&gt;&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-758926861485580633&quot; itemprop=&quot;articleBody&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-758926861485580633&quot; itemprop=&quot;articleBody&quot;&gt;The &lt;a href=&quot;http://dolphn.aimglobalhealth.org/Default.asp?page=SearchFrame.asp&quot;&gt;&lt;b&gt;Data Online for Population, Health and Nutrition&lt;/b&gt;&lt;/a&gt; (&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_1&quot;&gt;DOLPHN&lt;/span&gt;)
 system is an online statistical data resource containing selected 
current and historical country-level demographic and health indicator 
data. The &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_2&quot;&gt;DOLPHN&lt;/span&gt;
 system is designed to provide users with quick and easy access to 
frequently used statistics and can be helpful as both a reference and 
analytical tool.&lt;br /&gt;
&lt;br /&gt;
Stanford University Data sets (free) &lt;a href=&quot;http://data.stanford.edu/&quot;&gt;http://data.stanford.edu/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Interesting link for PhD students&lt;br /&gt;
&lt;a href=&quot;http://www2.hud.ac.uk/research/gradcentre/links.php&quot;&gt;http://www2.hud.ac.uk/research/gradcentre/links.php&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.wssinfo.org/home/introduction.html&quot;&gt;&lt;br /&gt;UNICEF/WHO &lt;/a&gt;sanitation and water&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.arl.org/sparc/&quot;&gt;Open Source Publishing&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_3&quot;&gt;Jstor&lt;/span&gt; Data&lt;br /&gt;
&lt;a href=&quot;http://dfr.jstor.org/&quot;&gt;http://dfr.jstor.org/&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www3.interscience.wiley.com/crossref.html&quot;&gt;&lt;br /&gt;Google and Wiley &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_4&quot;&gt;Interscience&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.google.com/publicdata/home&quot;&gt;Google public data visualization&lt;/a&gt;​The Google Public Data Explorer makes large datasets easy to explore, visualize and communicate.&lt;br /&gt;
&lt;a href=&quot;http://dvn.iq.harvard.edu/dvn/dv/dataconnect&quot;&gt;&lt;br /&gt;Harvard data &lt;/a&gt;related to public health&lt;br /&gt;
The
 purpose of this website is to provide public health professionals, 
researchers, policy makers and students with a comprehensive catalog of 
Maternal and Child Health (&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_5&quot;&gt;MCH&lt;/span&gt;) data sets, interactive tools and other resources.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://wonder.cdc.gov/&quot;&gt;CDC Wonder&lt;/a&gt;&lt;br /&gt;
Wide-ranging Online Data for Epidemiologic Research&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
CDC newborn feeding practices &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_7&quot;&gt;datasets&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.cdc.gov/ifps/data/index.htm&quot;&gt;http://www.cdc.gov/ifps/data/index.htm&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
CDC &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_8&quot;&gt;datasets&lt;/span&gt; on breastfeeding practices:&lt;br /&gt;
&lt;a href=&quot;http://www.cdc.gov/breastfeeding/data/index.htm&quot;&gt;http://www.cdc.gov/breastfeeding/data/index.htm&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_9&quot;&gt;Cochare&lt;/span&gt; Library (great for public health publications)&lt;br /&gt;
&lt;a href=&quot;http://www.thecochranelibrary.com/view/0/index.html?gclid=CPWu8trNy6ACFdNA6wodqn_u0A&quot;&gt;http://www.thecochranelibrary.com/view/0/index.html?gclid=CPWu8trNy6ACFdNA6wodqn_u0A&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_10&quot;&gt;JHUCCP&lt;/span&gt; research tool database&lt;br /&gt;
&lt;a href=&quot;http://new.jhuccp.org/research/researchDB/&quot;&gt;http://new.jhuccp.org/research/researchDB/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://pewresearch.org/databank/datasets/&quot;&gt;Pew Research Center Databases&lt;/a&gt;&lt;br /&gt;
You
 can download the data collected by Pew Research Center from here for 
their various national and international surveys (the religion project 
includes Pakistan).&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.prb.org/datafinder.aspx&quot;&gt;&lt;br /&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_11&quot;&gt;PRB&lt;/span&gt; Data Finder&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://www.researchgate.net/application.Index.html&quot;&gt;&lt;br /&gt;Research Gate&lt;/a&gt;&lt;br /&gt;
Professional network for scientists.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.rand.org/about/tools.html&quot; target=&quot;_blank&quot;&gt;RAND &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_6&quot;&gt;data&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A UH student analysis on different meta-data sources:&lt;br /&gt;
&lt;a href=&quot;http://www2.hawaii.edu/%7Ejacso/extra/&quot;&gt;http://www2.hawaii.edu/~jacso/extra/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.un.org/esa/population/unpop.htm&quot;&gt;UN population data&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.census.gov/ipc/www/idb/informationGateway.php&quot;&gt;&lt;br /&gt;US Census, international population statistics&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://data.worldbank.org/data-catalog&quot;&gt;World Bank Datasets&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://data.worldbank.org/&quot;&gt;&lt;br /&gt;World Bank Data&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://data.worldbank.org/&quot;&gt;&lt;br /&gt;&lt;/a&gt;
&lt;a href=&quot;http://www.worldvaluessurvey.org/&quot;&gt;World Values Survey&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.ipums.org/&quot;&gt;http://www.ipums.org/ &lt;/a&gt;&lt;i&gt;Integrated Public Use Microdata Series&lt;/i&gt; from Minnesota University&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.nber.org/data/&quot;&gt;National Bureau of Economic Research&lt;/a&gt; data from diff. sources related to American Demographics and Economics&lt;/div&gt;
&lt;div class=&quot;post-footer-line post-footer-line-1&quot;&gt;
&lt;span class=&quot;post-author vcard&quot;&gt;
Posted by
&lt;span class=&quot;fn&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/profile/02947902937912894228&quot; itemprop=&quot;author&quot; rel=&quot;author&quot; title=&quot;author profile&quot;&gt;
azeema
&lt;/a&gt;
&lt;/span&gt;
&lt;/span&gt;
&lt;span class=&quot;post-timestamp&quot;&gt;
at
&lt;a class=&quot;timestamp-link&quot; href=&quot;http://spss-statistics.blogspot.com/2010/05/datasoftwareiformation-sources-free.html&quot; itemprop=&quot;url&quot; rel=&quot;bookmark&quot; title=&quot;permanent link&quot;&gt;&lt;abbr class=&quot;published&quot; itemprop=&quot;datePublished&quot; title=&quot;2010-05-14T18:43:00-07:00&quot;&gt;18:43&lt;/abbr&gt;&lt;/a&gt;
&lt;/span&gt;
&lt;span class=&quot;reaction-buttons&quot;&gt;
&lt;/span&gt;
&lt;span class=&quot;star-ratings&quot;&gt;
&lt;/span&gt;
&lt;span class=&quot;post-comment-link&quot;&gt;
&lt;/span&gt;
&lt;span class=&quot;post-backlinks post-comment-link&quot;&gt;
&lt;/span&gt;
&lt;span class=&quot;post-icons&quot;&gt;

&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;post-share-buttons goog-inline-block&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;post-footer-line post-footer-line-2&quot;&gt;
&lt;span class=&quot;post-labels&quot;&gt;
Labels:
&lt;a href=&quot;http://spss-statistics.blogspot.com/search/label/analysis&quot; rel=&quot;tag&quot;&gt;analysis&lt;/a&gt;,
&lt;a href=&quot;http://spss-statistics.blogspot.com/search/label/data&quot; rel=&quot;tag&quot;&gt;data&lt;/a&gt;,
&lt;a href=&quot;http://spss-statistics.blogspot.com/search/label/journals&quot; rel=&quot;tag&quot;&gt;journals&lt;/a&gt;,
&lt;a href=&quot;http://spss-statistics.blogspot.com/search/label/software&quot; rel=&quot;tag&quot;&gt;software&lt;/a&gt;,
&lt;a href=&quot;http://spss-statistics.blogspot.com/search/label/sources&quot; rel=&quot;tag&quot;&gt;sources&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;post-labels&quot;&gt;The &lt;a href=&quot;http://www.socialexplorer.com/pub/ReportData/Home.aspx&quot; target=&quot;_blank&quot;&gt;Social Explorer &lt;/a&gt;(free edition) has the RCMS (religious congregation) dataset. &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;post-labels&quot;&gt;&lt;a href=&quot;https://international.ipums.org/international/index.shtml&quot; target=&quot;_blank&quot;&gt;IPUMS&lt;/a&gt; Data&amp;nbsp;&lt;/span&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Author: Azeema&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spss-statistics.blogspot.com/feeds/7836043003977995842/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7227623872230231508/7836043003977995842' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/7836043003977995842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/7836043003977995842'/><link rel='alternate' type='text/html' href='http://spss-statistics.blogspot.com/2012/08/datasoftwareinformation-sources-free.html' title='Data/Software/information sources (free) '/><author><name>Azeema Faizunnisa</name><uri>http://www.blogger.com/profile/02947902937912894228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7227623872230231508.post-6161507478180836044</id><published>2012-07-25T20:31:00.000-07:00</published><updated>2012-07-26T12:27:10.821-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="addition"/><category scheme="http://www.blogger.com/atom/ns#" term="compute"/><category scheme="http://www.blogger.com/atom/ns#" term="deletion"/><category scheme="http://www.blogger.com/atom/ns#" term="dropping"/><category scheme="http://www.blogger.com/atom/ns#" term="liswise"/><category scheme="http://www.blogger.com/atom/ns#" term="missing"/><category scheme="http://www.blogger.com/atom/ns#" term="pairwise"/><category scheme="http://www.blogger.com/atom/ns#" term="sum"/><title type='text'>To ADD (or SUM) in SPSS</title><content type='html'>&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Well, in SPSS you can add a series of variables in two different ways. First is you add two variables i.e., boys and girls and get the total children. Or, you want to create an Index based on a series of scores but want to ignore the respondent who missed out on any of the variables in the series (i.e., there is a MISSING value in 1 or more variables for them). &lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;compute t_child=sons+daughters.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;OR&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;compute t_child=sum (sons, daughters).&lt;br /&gt;&lt;br /&gt;&quot;The difference between the two procedures above is that in the first procedure, the case on total would be missing if any one of the four variables had missing values on a case; in the second procedure, the total would be computed while ignoring missing values on the four variables.&quot; &lt;b&gt;No cases will be dropped&lt;/b&gt; due to a missing value in any of the variables. &quot;Essentially SPSS treats the missing value as ZERO.&quot;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;In the SUM argument the variables must be separated by comma but if there are multiple variables you can use the option of TO to provide a range. For example, if you want to construct a happiness index based on 12 indicators/variables hap1 thru hap12, you can use the following syntax: &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;compute happiness=sum (hap1 thru hap12).&lt;/span&gt; &lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Source: &lt;a href=&quot;http://kb.iu.edu/data/afsh.html&quot; target=&quot;_blank&quot;&gt;Indiana University IT Services&lt;/a&gt; and others.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Another point to note is that&amp;nbsp; &quot;the SUM() function is 
evidently flexible enough to respect more complex statements like 
SUM(Var1+Var2, Var3-Var4, Var5*Var6).&amp;nbsp; Hence, &lt;b&gt;do not use &lt;/b&gt;the addition symbol when you use SUM unless that is part of the list of arguments. Source: &lt;a href=&quot;http://spssx-discussion.1045642.n5.nabble.com/Computing-Variables-Missing-Data-td1091945.html&quot; target=&quot;_blank&quot;&gt;SPSSX Discussion group&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;While talking about the flexibility and greatness of SUM, there is another neat function that you can take note of. So, in case you want to limit the CASE DROPPING based on any MISSING values, you can provide a number to TELL the computer to keep a CASE/RESPONDENT if at least X # of variables are answered. So,&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;example&quot;&gt;COMPUTE V3 = SUM.2(V1, V2).
  EXECUTE .&lt;/span&gt;&lt;/span&gt;

&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&quot;The &lt;code&gt;.2&lt;/code&gt; appended to the end of the &lt;code&gt;SUM&lt;/code&gt;
function in the above example can be any integer. Use it to indicate
the minimum number of valid cases necessary to perform a given
calculation.&quot; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Source: &lt;a href=&quot;http://kb.iu.edu/data/afsh.html&quot; target=&quot;_blank&quot;&gt;Indiana University IT Services&lt;/a&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Also remember Listwise and pairwise deletion a concept SPSS uses while using addition function. According to a &lt;a href=&quot;http://www.statisticsmentor.com/vbforum/showthread.php?t=14&quot; target=&quot;_blank&quot;&gt;discussion group &lt;/a&gt;they are defined as:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;b&gt;Listwise -&lt;/b&gt; then if the respondent has any missing value for any variable
 then the respondent is omitted from all your data analysis. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Pairwise &lt;/b&gt;-  not as harsh as listwise in that the respondent is dropped 
only on analyses involving variables that have missing values.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Also check the &lt;a href=&quot;http://www-01.ibm.com/support/docview.wss?uid=swg21475199&quot; target=&quot;_blank&quot;&gt;IBM site &lt;/a&gt;and &lt;a href=&quot;http://www.psychwiki.com/wiki/Dealing_with_Missing_Data&quot; target=&quot;_blank&quot;&gt;Psychwiki&lt;/a&gt; for more on list and pairwise deletion. &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Author: Azeema&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spss-statistics.blogspot.com/feeds/6161507478180836044/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7227623872230231508/6161507478180836044' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/6161507478180836044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/6161507478180836044'/><link rel='alternate' type='text/html' href='http://spss-statistics.blogspot.com/2012/07/addition-funtions-in-spss.html' title='To ADD (or SUM) in SPSS'/><author><name>Azeema Faizunnisa</name><uri>http://www.blogger.com/profile/02947902937912894228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7227623872230231508.post-4682212337753980561</id><published>2012-07-24T19:44:00.003-07:00</published><updated>2012-07-24T19:44:32.134-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="data reduction"/><category scheme="http://www.blogger.com/atom/ns#" term="FA"/><category scheme="http://www.blogger.com/atom/ns#" term="factor analysis"/><title type='text'>Factor Analysis in short (not my writing)</title><content type='html'>What is Factor Analysis?*&lt;br /&gt;
&quot;Factor analysis is a form of exploratory multivariate analysis that is used to either reduce the number of variables in a model or to detect relationships among variables.  All variables involved in the factor analysis need to be interval and are assumed to be normally distributed.&quot;&lt;br /&gt;
&lt;br /&gt;
SPSS syntax:&lt;br /&gt;
&lt;br /&gt;
factor&lt;br /&gt;
/variables read write math science socst  &lt;br /&gt;
/criteria factors(2) &lt;br /&gt;
/extraction pc&lt;br /&gt;
/rotation varimax&lt;br /&gt;
/plot eigen.&lt;br /&gt;
&lt;br /&gt;
Here is the syntax in SPSS from ANU course notes:&lt;br /&gt;
&lt;br /&gt;
FACTOR&lt;br /&gt;
/VARIABLES q34_1 to q34_12&lt;br /&gt;
/MISSING LISTWISE /ANALYSIS q34_1 to q34_12&lt;br /&gt;
/PRINT INITIAL KMO REPR EXTRACTION ROTATION&lt;br /&gt;
/CRITERIA MINEIGEN(1) ITERATE(25)&lt;br /&gt;
/FORMAT SORT&lt;br /&gt;
/EXTRACTION PAF&lt;br /&gt;
/CRITERIA ITERATE(25)&lt;br /&gt;
/ROTATION VARIMAX&lt;br /&gt;
/METHOD=CORRELATION .&lt;br /&gt;
&lt;br /&gt;
Crate SCALE using FA&lt;br /&gt;
&lt;br /&gt;
FACTOR&lt;br /&gt;
/VARIABLES q34_1 to q34_12&lt;br /&gt;
/MISSING LISTWISE /ANALYSIS q34_1 to q34_12&lt;br /&gt;
/PRINT INITIAL KMO REPR EXTRACTION ROTATION&lt;br /&gt;
/CRITERIA MINEIGEN(1) ITERATE(25)&lt;br /&gt;
/FORMAT SORT&lt;br /&gt;
/EXTRACTION PAF&lt;br /&gt;
/PLOT EIGEN&lt;br /&gt;
/CRITERIA ITERATE(25)&lt;br /&gt;
/ROTATION VARIMAX&lt;br /&gt;
/SAVE REG (2)&lt;br /&gt;
/METHOD=CORRELATION .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Introduction to SAS.  UCLA: Academic Technology Services, Statistical Consulting Group. from &lt;a href=&quot;http://www.ats.ucla.edu/stat/sas/notes2/&quot;&gt;http://www.ats.ucla.edu/stat/sas/notes2/&lt;/a&gt; (accessed November 24, 2007).&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Author: Azeema&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spss-statistics.blogspot.com/feeds/4682212337753980561/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7227623872230231508/4682212337753980561' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/4682212337753980561'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/4682212337753980561'/><link rel='alternate' type='text/html' href='http://spss-statistics.blogspot.com/2012/07/factor-analysis-in-short-not-my-writing.html' title='Factor Analysis in short (not my writing)'/><author><name>Azeema Faizunnisa</name><uri>http://www.blogger.com/profile/02947902937912894228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7227623872230231508.post-5171504274806167876</id><published>2012-07-24T19:41:00.000-07:00</published><updated>2012-07-24T19:41:26.263-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="unmet need"/><title type='text'></title><content type='html'>&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Measuring unmet need for family planning.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Preamble&lt;/b&gt;&lt;br /&gt;
“Millions of women would prefer to avoid becoming pregnant either right away or ever, but are not using contraception.  These women have an unmet need for family planning.  Programs can serve many of these women by developing strategies that respond directly to their concern.”   Ref: Population Reports, Sept 1996.&lt;br /&gt;
&lt;br /&gt;
Unmet need is defined on the basis of women’s responses to survey questions and following are some of the definitions that have been used since 1970’s.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;The KAP-Gap&lt;/b&gt;&lt;br /&gt;
Definition one: Women who wanted to have no more children but were not using contraception. (Ignored spacers, exposure to risk of pregnancy)&lt;br /&gt;
&lt;br /&gt;
The world fertility survey (WFS 1972-1984)&lt;br /&gt;
Definition two: Same as above but excluded pregnant and amenorrheic women, because they did not currently need contraception. (Ignored spacers)&lt;br /&gt;
&lt;br /&gt;
In 1981, John Anderson and Leo Morris measured the percentage of women of reproductive age who are “exposed to the risk of unintended pregnancy and are not using contraceptive”. (Included spacers).  Next year Nortman and Gary developed a model by including pregnant, breast feeding, or amenorrheic in the definition of unmet need.&lt;br /&gt;
&lt;br /&gt;
After ICPD 1994, Sinding and Fathalla have suggested to measure unmet need more broadly including unmet need among people who are using contraception but may be dissatisfied with their method. By using both qualitative and quantitative data, they suggest experience with sideeffects, discontinuation and other problems of contraception could help extend the focus of unmet need from use of any method to the quality of care.&lt;br /&gt;
&lt;br /&gt;
Arguments over who is at risk, should we include inappropriate method use and method failure. DHS started asking questions on intentions about current pregnancy, therefore, including pregnant women. Recently included category is unmarried women.  In short, include all women who are “at risk” of an unintended or mistimed pregnancy.&lt;br /&gt;
&lt;br /&gt;
Considering the importance of measurement of unmet need, now all DHS and FP/RH Survey questionnaire ask about extended definition of unmet need.  &lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
Casterline (1997) pointed out that there can be inaccuracies in the reporting of contraceptive use and in the reporting of fertility preferences, and both pieces of information are required for estimating unmet need.  Furthermore, his work shows that unmet need is subject to different definitions, and its measurement is not straightforward.  Therefore, any survey undertaken for the measurement of unmet need must consider issues of definition in advance.&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;b&gt;Following chart shows the standard formulation of unmet need.&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;b&gt;&lt;/b&gt; &lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Author: Azeema&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spss-statistics.blogspot.com/feeds/5171504274806167876/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7227623872230231508/5171504274806167876' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/5171504274806167876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/5171504274806167876'/><link rel='alternate' type='text/html' href='http://spss-statistics.blogspot.com/2012/07/measuring-unmet-need-for-family-planning.html' title=''/><author><name>Azeema Faizunnisa</name><uri>http://www.blogger.com/profile/02947902937912894228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7227623872230231508.post-1381682658755183758</id><published>2012-07-24T19:36:00.002-07:00</published><updated>2012-07-24T19:36:55.376-07:00</updated><title type='text'>Naming multiple variables at the same time, with syntax</title><content type='html'>Of course, it has to be with SYNTAX... I like to do everything with Syntax because of so many reasons but mostly to keep a log of what I am doing and secondly to reduce the key strokes I have to make for repeated jobs!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So, in case you have some variables for which you have to assign VALUE AND VARIABLE LABELS wouldn&#39;t it be handy to if you are able to do them with one command.I know  it is a small thing and most people who use SPSS would laugh at me for even writing a blog entry on this, but believe me it is easy to forget little things especially if you go out of touch for a year or two. So, here is the command:&lt;br /&gt;
&lt;br /&gt;
VAR LAB&lt;br /&gt;
&lt;br /&gt;
q29a  &#39;(RHC)Number of hours facility open for consultantion&#39;&lt;br /&gt;
/q29b &#39;Number of hours facility open for consultantion BHU&#39;&lt;br /&gt;
/q29c &#39;Number of hours facility open for consultantion MCH center&#39;&lt;br /&gt;
/q29d &#39;Number of hours facility open for consultantion Dispensary&#39;&lt;br /&gt;
/q29e &#39;Number of hours facility open for consultantion govt hospital&#39;&lt;br /&gt;
/q29f &#39;Number of hours facility open for consultantion Pvt hospital&#39;&lt;br /&gt;
/q29g &#39;Number of hours facility open for consultantion Dispensary/Compoder&#39;&lt;br /&gt;
/q29h &#39;Number of hours facility open for consultantion Nurse/LHV&#39;&lt;br /&gt;
/q29i &#39;Number of hours facility open for consultantion Hakeem/ Homeopath&#39;&lt;br /&gt;
/q29j &#39;Number of hours facility open for consultantion FWC&#39;&lt;br /&gt;
/q29k &#39;Number of hours facility open for consultantion &#39;RHS-A&#39;&lt;br /&gt;
/q29l &#39;(Others)Number of hours facility open for consultantion&#39;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please note in the above syntax, After VAR LAB the first variable name is written as is, but the rest precede with a backslash &quot;/&quot;.&lt;div class=&quot;blogger-post-footer&quot;&gt;Author: Azeema&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spss-statistics.blogspot.com/feeds/1381682658755183758/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7227623872230231508/1381682658755183758' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/1381682658755183758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/1381682658755183758'/><link rel='alternate' type='text/html' href='http://spss-statistics.blogspot.com/2012/07/naming-multiple-variables-at-same-time.html' title='Naming multiple variables at the same time, with syntax'/><author><name>Azeema Faizunnisa</name><uri>http://www.blogger.com/profile/02947902937912894228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7227623872230231508.post-7852638366450247113</id><published>2012-07-24T19:31:00.000-07:00</published><updated>2012-07-26T19:14:21.363-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Access"/><category scheme="http://www.blogger.com/atom/ns#" term="data dictionary"/><category scheme="http://www.blogger.com/atom/ns#" term="data migration"/><category scheme="http://www.blogger.com/atom/ns#" term="export"/><category scheme="http://www.blogger.com/atom/ns#" term="fields"/><category scheme="http://www.blogger.com/atom/ns#" term="import"/><category scheme="http://www.blogger.com/atom/ns#" term="labels"/><category scheme="http://www.blogger.com/atom/ns#" term="stat/transfer. DBMS Copy"/><category scheme="http://www.blogger.com/atom/ns#" term="variables"/><title type='text'>Data transfer (migration) from Access to SPSS</title><content type='html'>&lt;b&gt;Problem:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Your data has been entered in MS Access, where all the variables (fields) have been defined names, width, type etc. and there are look up arrays/tables linked with each of the fields to describe the Response Values. But then you need to run some stats in SPSS. So, you basically EXPORT the file to some data analysis software like SPSS. One way to do it is export to MS Excel format and open/Import the Excel sheet into SPSS, which is pretty straightforward and simple. But then you examine the file and you will notice that in this transition, all the nifty labels of fields and values are gone and you will have to either make guesses or look at your data collection instruments to make sense of the numbers.&lt;br /&gt;
&lt;br /&gt;
So, the choice you have is either to keep doing that or manually assign all the labels in SPSS. It is fine if you have only a handful of variables, but if you have a long list it is a lot of work!!!&lt;br /&gt;
&lt;br /&gt;
What do you do? I have been trying to get around this problem for months now with no success. There is a Script on my favorite SPSS site:&lt;br /&gt;
&lt;a href=&quot;http://www.spsstools.net/Scripts/ImportExport/ExportLabelsFromAccessToSPSS.txt&quot;&gt;http://www.spsstools.net/Scripts/ImportExport/ExportLabelsFromAccessToSPSS.txt&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
which should do the needful but I am certainly not doing it right. Need help. All the google search and various discussion groups have proven to be of no use also. Apparently I can create a link through ODBC but I am too lame to figure that out...&lt;br /&gt;
&lt;br /&gt;
Any help?&lt;br /&gt;
&lt;br /&gt;
Update 1: No luck with VB or Python or ODBC etc. because I am too dumb to learn them on my own! However, I learnt that if you have to do that a lot, there is a handy program that can do it for you. It is called Stat/Transfer. One caveat is that it is not FREE. The student version costs $59. In future I would buy it if I am stuck with multiple transfers between various databases. In the past they also used to have DBMS copy for such things but it does not exist anymore. I have tried to search for a Open Source version for Stat/Transfer but no luck yet!!&lt;div class=&quot;blogger-post-footer&quot;&gt;Author: Azeema&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spss-statistics.blogspot.com/feeds/7852638366450247113/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7227623872230231508/7852638366450247113' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/7852638366450247113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/7852638366450247113'/><link rel='alternate' type='text/html' href='http://spss-statistics.blogspot.com/2012/07/exporting-value-lables-from-ms-acess-to.html' title='Data transfer (migration) from Access to SPSS'/><author><name>Azeema Faizunnisa</name><uri>http://www.blogger.com/profile/02947902937912894228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7227623872230231508.post-3694884186948247042</id><published>2012-01-26T00:29:00.000-08:00</published><updated>2012-01-26T01:08:47.144-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSPro"/><category scheme="http://www.blogger.com/atom/ns#" term="data"/><category scheme="http://www.blogger.com/atom/ns#" term="data entry"/><category scheme="http://www.blogger.com/atom/ns#" term="database"/><category scheme="http://www.blogger.com/atom/ns#" term="Epidata"/><category scheme="http://www.blogger.com/atom/ns#" term="SPSS"/><title type='text'>Entering quantitative data into the computer</title><content type='html'>Well there are many many ways you can enter the quantitative data (generated from surveys) into a computer. Most of the people I know use either use a simple Excel table or very very complex MS Access data entry file. However both of these programs are not created for data entry purposes and hence are not so handy for that purpose.&lt;br /&gt;&lt;br /&gt;There are several software out there in the market which you can buy to do the job, or you can outsource the data for entry or create a program for the very purpose yourself. All of these options require extra resources. SPSS, the most popular data analysis program also has a data entry module which is great but that is not free.&lt;br /&gt;&lt;br /&gt;The best option would be to have a data entry program which is made just for that purpose, is easy to learn and use and most importantly is free. Thankfully there are 2 such software:&lt;br /&gt;&lt;br /&gt;1) &lt;a href=&quot;http://www.census.gov/population/international/software/cspro/index.html&quot;&gt;CSPro&lt;/a&gt;&lt;br /&gt;&quot;The Census and Survey Processing System (CSPro) is a public domain  software package used by hundreds of organizations and tens of thousands  of individuals for entering, editing, tabulating, and disseminating  census and survey data.&quot;&lt;br /&gt;&lt;br /&gt;2) &lt;a href=&quot;http://www.epidata.dk/index.htm&quot;&gt;EpiData&lt;br /&gt;&lt;/a&gt;&quot;&lt;span class=&quot;st&quot;&gt;&lt;em&gt;EpiData&lt;/em&gt; Entry is used for simple or programmed  data entry and data documentation. Entry handles simple forms or  related systems Optimised documentation.&quot;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In my view using using Excel and Access have their strength but for any survey with more than a page long questionnaire and more than 40-50 respondents, it is better to use one or the other of the above.&lt;br /&gt;&lt;br /&gt;Range checks, value lengths, logical jumps, automatically calculated fields, data validation on double entry, find duplicates, assign values for missing or not applicable values etc. are some the things that needs to be done to maintain the integrity of data. Both of the above software can do that.&lt;br /&gt;&lt;br /&gt;The files that are created in these programs can easily be exported to major analytical packages like SPSS and STATA.&lt;div class=&quot;blogger-post-footer&quot;&gt;Author: Azeema&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spss-statistics.blogspot.com/feeds/3694884186948247042/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7227623872230231508/3694884186948247042' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/3694884186948247042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/3694884186948247042'/><link rel='alternate' type='text/html' href='http://spss-statistics.blogspot.com/2012/01/entering-quantitative-data-into.html' title='Entering quantitative data into the computer'/><author><name>Azeema Faizunnisa</name><uri>http://www.blogger.com/profile/02947902937912894228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7227623872230231508.post-1117267885716847520</id><published>2012-01-12T20:28:00.000-08:00</published><updated>2012-01-26T01:12:31.014-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Excel"/><title type='text'>Converting a table to Data File</title><content type='html'>I have been looking for this for so long.....&lt;br /&gt;&lt;br /&gt;Thank you Mr. John Walkenbach&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here is a nifty Macro in Excel to do that!!!&lt;br /&gt;&lt;pre&gt;Sub ReversePivotTable()&lt;br /&gt;&#39;   Before running this, make sure you have a summary table with column headers.&lt;br /&gt;&#39;   The output table will have three columns.    &lt;br /&gt;Dim SummaryTable As Range, OutputRange As Range    &lt;br /&gt;Dim OutRow As Long    &lt;br /&gt;Dim r As Long, c As Long     &lt;br /&gt;On Error Resume Next    &lt;br /&gt;Set SummaryTable = ActiveCell.CurrentRegion    &lt;br /&gt;If SummaryTable.Count = 1 Or SummaryTable.Rows.Count &amp;lt; 3 Then        &lt;br /&gt;MsgBox &quot;Select a cell within the summary table.&quot;, vbCritical        &lt;br /&gt;Exit Sub    &lt;br /&gt;End If    &lt;br /&gt;SummaryTable.Select    &lt;br /&gt;Set OutputRange = Application.InputBox(prompt:=&quot;Select a cell for the 3-column output&quot;, Type:=8) &#39;  &lt;br /&gt;Convert the range     OutRow = 2     Application.ScreenUpdating = False    &lt;br /&gt;OutputRange.Range(&quot;A1:C3&quot;) = Array(&quot;Column1&quot;, &quot;Column2&quot;, &quot;Column3&quot;)    &lt;br /&gt;For r = 2 To SummaryTable.Rows.Count        &lt;br /&gt;For c = 2 To SummaryTable.Columns.Count            &lt;br /&gt;OutputRange.Cells(OutRow, 1) = SummaryTable.Cells(r, 1)            &lt;br /&gt;OutputRange.Cells(OutRow, 2) = SummaryTable.Cells(1, c)            &lt;br /&gt;OutputRange.Cells(OutRow, 3) = SummaryTable.Cells(r, c)            &lt;br /&gt;OutputRange.Cells(OutRow, 3).NumberFormat = SummaryTable.Cells(r, c).NumberFormat            &lt;br /&gt;OutRow = OutRow + 1       &lt;br /&gt;Next c  &lt;br /&gt; Next r&lt;br /&gt;End Sub&lt;/pre&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Author: Azeema&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spss-statistics.blogspot.com/feeds/1117267885716847520/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7227623872230231508/1117267885716847520' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/1117267885716847520'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/1117267885716847520'/><link rel='alternate' type='text/html' href='http://spss-statistics.blogspot.com/2012/01/converting-table-to-data-file.html' title='Converting a table to Data File'/><author><name>Azeema Faizunnisa</name><uri>http://www.blogger.com/profile/02947902937912894228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7227623872230231508.post-2850702165774310069</id><published>2012-01-12T13:43:00.000-08:00</published><updated>2020-03-10T18:15:53.505-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Excel"/><category scheme="http://www.blogger.com/atom/ns#" term="vlookup"/><title type='text'>VlookUp in Excel</title><content type='html'>Learnt a lot about VlookUp today. It is really one of the most powerful features of MS Excel.&lt;br /&gt;
&lt;br /&gt;
Few things to remember.&lt;br /&gt;
The formula will return a &quot;0&quot; (without quotes) if the index variable was matched but there as not corresponding value to return. If the index variable does not match, Excel will return #NA.&lt;br /&gt;
&lt;br /&gt;
-remember the column number you want to retrieve. This column number is counted from the column where you &quot;looked&quot; for the index variable.&lt;br /&gt;
&lt;br /&gt;
-You can lookup in another file.&lt;br /&gt;
-Linked files get updated even if they are not open.&lt;br /&gt;
-To keep track of what changes has been made it is a good idea to use the &quot;TRACK CHANGES&quot; feature.&lt;br /&gt;
-Excel cares about trailing spaces but does not care for difference in CASE and the type of the cell.&lt;br /&gt;
-Cells cannot be protected, hence you have to be very careful when you use vlookup.&lt;br /&gt;
&lt;br /&gt;
Example of VLookup with data in 2 different sheets.&lt;br /&gt;
&lt;br /&gt;
=VLOOKUP(A:A,Sheet3!A:B,2,FALSE)&lt;br /&gt;
&lt;br /&gt;
Another one,&lt;br /&gt;
=VLOOKUP(O2,B2:K41,5)&lt;br /&gt;
&lt;br /&gt;
In this example O2 (the first condition) is the address of the value that you want to MATCH, for example registration number, ssn etc. (the index) with&amp;nbsp; the source data file. You can also provide a value here, but giving a cell address makes it easier to copy a range. The second term, B2:K41 is the range of source data in which the first column includes your INDEX variable. The third value, 5 is the column number after the index. For example if your INDEX is in column B and your VALUE (ie name) is in column E, you should write 4 here). Make sure to remember that you need to select the complete range of columns for the lookup. For example, if you have school names in column A,&amp;nbsp; freq of particular symptom in column B and you want to get the total number of health room visits from columns E (while D has the corresponding school name), you need to select both column D and E for the second condition (not just one column), then put 1 for the index number.&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Author: Azeema&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spss-statistics.blogspot.com/feeds/2850702165774310069/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7227623872230231508/2850702165774310069' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/2850702165774310069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/2850702165774310069'/><link rel='alternate' type='text/html' href='http://spss-statistics.blogspot.com/2012/01/vlookup-in-excel.html' title='VlookUp in Excel'/><author><name>Azeema Faizunnisa</name><uri>http://www.blogger.com/profile/02947902937912894228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7227623872230231508.post-3643789293728397996</id><published>2012-01-12T13:41:00.000-08:00</published><updated>2012-01-12T20:32:23.130-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="database"/><category scheme="http://www.blogger.com/atom/ns#" term="linking"/><category scheme="http://www.blogger.com/atom/ns#" term="Lookup"/><category scheme="http://www.blogger.com/atom/ns#" term="MATCH"/><category scheme="http://www.blogger.com/atom/ns#" term="update"/><title type='text'>Comparing/Updating multiple files against a Master file</title><content type='html'>UPDATE FILE command can be used for that. More text to add later.&lt;br /&gt;&lt;br /&gt;Meanwhile check this page.&lt;br /&gt;&lt;a href=&quot;http://www.ats.ucla.edu/stat/spss/faq/update.htm&quot;&gt;http://www.ats.ucla.edu/stat/spss/faq/update.htm&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Author: Azeema&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spss-statistics.blogspot.com/feeds/3643789293728397996/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7227623872230231508/3643789293728397996' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/3643789293728397996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/3643789293728397996'/><link rel='alternate' type='text/html' href='http://spss-statistics.blogspot.com/2012/01/comparingupdating-multiple-files.html' title='Comparing/Updating multiple files against a Master file'/><author><name>Azeema Faizunnisa</name><uri>http://www.blogger.com/profile/02947902937912894228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7227623872230231508.post-3956413995801231452</id><published>2012-01-10T13:13:00.000-08:00</published><updated>2012-01-10T13:14:41.782-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Excel"/><title type='text'>Excel oddities</title><content type='html'>Check this page for some oddities and quirks related to Excel.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://spreadsheetpage.com/index.php/oddities&quot;&gt;http://spreadsheetpage.com/index.php/oddities&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Author: Azeema&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spss-statistics.blogspot.com/feeds/3956413995801231452/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7227623872230231508/3956413995801231452' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/3956413995801231452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7227623872230231508/posts/default/3956413995801231452'/><link rel='alternate' type='text/html' href='http://spss-statistics.blogspot.com/2012/01/excel-oddities.html' title='Excel oddities'/><author><name>Azeema Faizunnisa</name><uri>http://www.blogger.com/profile/02947902937912894228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>