{"id":171,"date":"2018-08-15T12:36:40","date_gmt":"2018-08-15T19:36:40","guid":{"rendered":"https:\/\/blogs.ubc.ca\/datawithstata\/?page_id=171"},"modified":"2019-05-25T16:24:30","modified_gmt":"2019-05-25T23:24:30","slug":"videos","status":"publish","type":"page","link":"https:\/\/blogs.ubc.ca\/datawithstata\/videos\/","title":{"rendered":"Videos"},"content":{"rendered":"<h2><span style=\"color: #dd3396;\"><em>S<\/em>tata: Set Up<\/span><\/h2>\n<div id=\"random-accordion-id-222\" class=\"accordion-shortcode  \"> <h3 ><a href=\"#stata-windows-0\" ><abbr class='c2c-text-hover' title='Statistical Software for Data Analysis'>Stata<\/abbr> Windows<\/a><\/h3><div id=\"stata-windows-0\" class=\"accordian-shortcode-content \" ><p> <iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/7trAIqUjlaU\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><br \/>\nIntroduction to <abbr class='c2c-text-hover' title='Statistical Software for Data Analysis'>Stata<\/abbr> windows: restoring closed windows, personalizing window sizes, font sizes, and saving preferences.<\/p>\n<p>There are 4 main windows in <abbr class='c2c-text-hover' title='Statistical Software for Data Analysis'>STATA<\/abbr><\/p>\n<ol>\n<li>Variables - Lists variables and labels. Double click on a variable in this window to paste it into the command window<\/li>\n<li>Command - Type in commands here<\/li>\n<li>Results - Displays results generated from commands<\/li>\n<li>Review - Keeps a history of all past commands executed. Click on a past command to paste it into the command window.<\/li>\n<\/ol>\n<p>\n<\/div> <h3 ><a href=\"#value-labels-1\" >Value Labels<\/a><\/h3><div id=\"value-labels-1\" class=\"accordian-shortcode-content \" ><p> <iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/mpH3OKGy7OI\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>Exploring data layout, variable types, and use of variable and value labels<\/p>\n<ul>\n<li>Variable labels give a fuller description of variables<\/li>\n<li>Text variables stored in string format, numerical variables stores as int, float, byte, etc.<\/li>\n<li>Store a variable with numerical value and attach text labels to each value by creating a value label and applying it to the variable<\/li>\n<\/ul>\n<p>\n<\/div> <h3 ><a href=\"#dummy-variables-from-categoric-2\" >Dummy Variables from Categorical Var.<\/a><\/h3><div id=\"dummy-variables-from-categoric-2\" class=\"accordian-shortcode-content \" ><p> <iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/DiXrLSSAXBY\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>Dummy Variables for each category take values \"0\" or \"1\"<\/p>\n<\/div><\/div><!-- #random-accordion-id-222end of accordion shortcode -->\n<h2><\/h2>\n<h2><span style=\"color: #dd3396;\"><em>S<\/em>tata<em>:<\/em> Data Management &amp; Analysis<\/span><\/h2>\n<div id=\"random-accordion-id-992\" class=\"accordion-shortcode  \"> <h3 ><a href=\"#tables-and-cross-tabulation-3\" >Tables and Cross Tabulation<\/a><\/h3><div id=\"tables-and-cross-tabulation-3\" class=\"accordian-shortcode-content \" ><p> <iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/3WpMRtTNZsw?start=11\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>One-way and two-way tables, incorporating missing data, and including relative frequencies<\/p>\n<ul>\n<li>Tabulations best used for categorical variables<\/li>\n<\/ul>\n<p>\n<\/div> <h3 ><a href=\"#t-test-for-independent-samples-4\" >t-test for independent Samples<\/a><\/h3><div id=\"t-test-for-independent-samples-4\" class=\"accordian-shortcode-content \" ><p> <iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/by4c3h3WXQc?start=11\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>Two-group mean comparison test<\/p>\n<ul>\n<li>Plotting graphs gives an idea of distributions of data<\/li>\n<li>ttest gives results for one-tail and two-tail tests<\/li>\n<\/ul>\n<p>\n<\/div><\/div><!-- #random-accordion-id-992end of accordion shortcode -->\n<h2><span style=\"color: #dd3396;\"><em>S<\/em>tata: Graphs<\/span><\/h2>\n<div id=\"random-accordion-id-679\" class=\"accordion-shortcode  \"> <h3 ><a href=\"#using-graphs-5\" >Using Graphs<\/a><\/h3><div id=\"using-graphs-5\" class=\"accordian-shortcode-content \" ><p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/FCnNJXR1zWw\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>Using Graphs to understand your data through histogram, scatterplot, and bar graph<\/p>\n<ul>\n<li>Use graphs to compare statistics across categories<\/li>\n<\/ul>\n<p>\n<\/div> <h3 ><a href=\"#customizing-graphs-6\" >Customizing Graphs<\/a><\/h3><div id=\"customizing-graphs-6\" class=\"accordian-shortcode-content \" ><p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/qihSB7qaPHY\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>Using the Graph Editor to customize labels, colour schemes, design, etc.<\/p>\n<ul>\n<li>Saving graphs and pasting to Word documents<\/li>\n<li>Generate separate graphs by category<\/li>\n<\/ul>\n<p>\n<\/div> <h3 ><a href=\"#standardizing-graphs-7\" >Standardizing Graphs<\/a><\/h3><div id=\"standardizing-graphs-7\" class=\"accordian-shortcode-content \" ><p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/z_mw7vylINQ\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>Record and save customizations to generate a standard format for all your graphs<\/p>\n<p>\n<\/div><\/div><!-- #random-accordion-id-679end of accordion shortcode -->\n<h2><span style=\"color: #dd3396;\"><em>S<\/em>tata<em>:<\/em> Regression Analysis<\/span><\/h2>\n<div id=\"random-accordion-id-931\" class=\"accordion-shortcode  \"> <h3 ><a href=\"#ols-ordinary-least-square-regr-8\" ><abbr class='c2c-text-hover' title='Ordinary Least Square'>OLS<\/abbr>: Ordinary Least Square Regression<\/a><\/h3><div id=\"ols-ordinary-least-square-regr-8\" class=\"accordian-shortcode-content \" ><p> <iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/lvg6mYMa3MY\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>Review of Ordinary Least Squares (<abbr class='c2c-text-hover' title='Ordinary Least Square'>OLS<\/abbr>) simple linear regression and the constant coefficient<\/p>\n<ul>\n<li><abbr class='c2c-text-hover' title='Statistical Software for Data Analysis'>STATA<\/abbr> generates the constant term by regressing on x=1<\/li>\n<\/ul>\n<p>\n<\/div> <h3 ><a href=\"#multicollinearity-reference-gr-9\" >Multicollinearity &amp; Reference Groups in an <abbr class='c2c-text-hover' title='Ordinary Least Square'>OLS<\/abbr> Regression<\/a><\/h3><div id=\"multicollinearity-reference-gr-9\" class=\"accordian-shortcode-content \" ><p> <iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/LkV1waXtj0Y\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>Regressing with dummy variables and choosing a reference group<\/p>\n<ul>\n<li>Generate dummies to capture different effects of each category<\/li>\n<li>Choose one reference group (or constant) to omit to avoid multicollinearity<\/li>\n<li>Coefficients measure effects relative to reference group<\/li>\n<\/ul>\n<p>\n<\/div><\/div><!-- #random-accordion-id-931end of accordion shortcode -->\n","protected":false},"excerpt":{"rendered":"<p><abbr class='c2c-text-hover' title='Statistical Software for Data Analysis'>Stata<\/abbr>: Set Up <abbr class='c2c-text-hover' title='Statistical Software for Data Analysis'>Stata<\/abbr>: Data Management &amp; Analysis <abbr class='c2c-text-hover' title='Statistical Software for Data Analysis'>Stata<\/abbr>: Graphs <abbr class='c2c-text-hover' title='Statistical Software for Data Analysis'>Stata<\/abbr>: Regression Analysis<\/p>\n","protected":false},"author":59154,"featured_media":0,"parent":0,"menu_order":5,"comment_status":"closed","ping_status":"closed","template":"full-width-page.php","meta":{"footnotes":""},"class_list":["post-171","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/blogs.ubc.ca\/datawithstata\/wp-json\/wp\/v2\/pages\/171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.ubc.ca\/datawithstata\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/blogs.ubc.ca\/datawithstata\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.ubc.ca\/datawithstata\/wp-json\/wp\/v2\/users\/59154"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.ubc.ca\/datawithstata\/wp-json\/wp\/v2\/comments?post=171"}],"version-history":[{"count":43,"href":"https:\/\/blogs.ubc.ca\/datawithstata\/wp-json\/wp\/v2\/pages\/171\/revisions"}],"predecessor-version":[{"id":1275,"href":"https:\/\/blogs.ubc.ca\/datawithstata\/wp-json\/wp\/v2\/pages\/171\/revisions\/1275"}],"wp:attachment":[{"href":"https:\/\/blogs.ubc.ca\/datawithstata\/wp-json\/wp\/v2\/media?parent=171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}