Home
Category
About
Java程序辅导
C C++ Java Python Processing编程在线培训 程序编写 软件开发 视频讲解
QQ:2653320439 微信:ittutor Email:itutor@qq.com
Data and variable types - Introduction to statistics - LibGuides at Curtin University
Skip to Main Content It looks like you're using Internet Explorer 11 or older. This website works best with modern browsers such as the latest versions of Chrome, Firefox, Safari, and Edge. If you continue with this browser, you may see unexpected results. Library LibGuides Content (95%) Introduction to statistics Data and variable types Search this Guide Search Introduction to statistics: Data and variable types Introduction Interpreting statistics Data and variable types Descriptive statistics The normal distribution Inferential statistics Glossary Feedback Introduction to statistics UniSkills Assignment Skills Analysing Finding Reading Citing Writing Referencing Study Skills Study habits Group work Tests and exams Oral presentations Critical thinking LANTITE Digital Skills SPSS NVivo Microsoft Word Microsoft Excel EndNote 23 Things Qualtrics Numeracy Skills Fundamentals Algebra Statistics Referencing APA 7th Chicago 17th B AGLC Vancouver Writing with integrity EndNote Essentials Extras Online Enter Search Words Close UniSkills Assignment Skills Assignment Skills Analyse the brief Analyse the brief Analyse Brainstorming Thesis statement Finding information Finding information Introduction Search strategy Search tools Specific resources Reading and evaluating Reading and evaluating Reading and evaluating Note taking Citing Citing Introduction Paraphrasing Summarising and synthesising Quoting Writing Writing Introduction Essays Reports Reflective writing Case studies Literature reviews Structure and mechanics Editing and proofreading Referencing Study Skills Study Skills Study habits Study habits Introduction Manage your time Group work Tests and exams Oral presentations Critical thinking Critical thinking Introduction Bias Argument LANTITE Digital Skills Digital Skills Introduction to SPSS Introduction to NVivo Microsoft Word Essentials Microsoft Word Essentials Introduction Document setup Adding content Handy hints Microsoft Excel Essentials EndNote 23 Things Qualtrics Numeracy Skills Numeracy Skills Fundamentals Fundamentals Introduction Number algebra Number algebra Order of operations (BIMDAS) Decimal numbers Percentages Fractions Ratios, rates and proportions Averages Algebra Measurement and geometry Measurement and geometry Converting between units Drawing diagrams Perimeter Area Volume Directions Time Speed Statistics and probability Statistics and probability Statistics for categorical data Statistics for continuous data Interpreting graphs Calculations in Excel Probability Algebra Statistics Statistics Introduction Interpreting statistics Interpreting statistics Interpreting descriptive statistics Interpreting inferential statistics References Data and variable types Data and variable types What is data? What is a variable? Categorical and continuous data Independent and dependent variables Descriptive statistics Descriptive statistics What are descriptive statistics? Descriptive statistics for one categorical variable Descriptive statistics for one continuous variable Comparing means Descriptive statistics for two categorical variables Descriptive statistics for two continuous variables The normal distribution The normal distribution What is the normal distribution? Testing for normality Transforming variables Inferential statistics Inferential statistics What are inferential statistics? Estimation Hypothesis testing Parametric and non-parametric tests One sample \(t\) test Paired samples \(t\) test Independent samples \(t\) test One-way ANOVA Chi-square test Pearson's correlation Referencing Referencing APA 7 Referencing APA 7 Referencing Introduction In-text citations explained In-text citations explained In-text citations Paraphrasing Quoting (40 words or less) Quoting ( more than 40 words) Multiple sources for the same information Multiple works by the same author(s) Multiple works by the same author(s) - published in the same year Different authors with the same surname Authors citing other authors Author variations Author variations No author Organisation as author One or two authors Three to 20 authors 21 or more authors Journal and news articles Journal and news articles Journal articles Advanced publication, supplements and article number Newspaper articles Books Books Book Chapter Conference paper Thesis Religious works Classic works Websites Websites Webpage News website Dictionary or encyclopedia Lecture Social media Social media Blog Facebook Instagram Twitter Reports and grey literature Reports and grey literature Report Press release Brochure, fact sheet or pamphlet Code of ethics Legislation and standards Legislation and standards Act of Parliament Case Standard United Nations treaties and conventions Audiovisual media Audiovisual media Film TV series episode TV series YouTube Podcast episode Music Health resources Health resources Cochrane Systematic Review UpToDate AMH, MIMs and Martindale DSM-5 and ICD Clinical practice guidelines Other sources Other sources Review Personal communication Data set Australian curriculum Sample reference list Chicago 17th B Chicago 17th B Introduction In-text citations explained In-text citations explained In-text citations Paraphrasing Quoting (40 words or less) Quoting (more than 40 words) Multiple sources for the same information Multiple works by the same author(s) Multiple works by the same author(s) - published in the same year Different authors with the same surname Authors citing other authors Author variations Author variations No author One or two authors Three authors Four or more authors Organisation as author Journal and news articles Journal and news articles Journal articles Advanced publication, supplements and article number Newspaper article or magazine article Books Books Book Chapter in an edited book Conference paper Thesis Websites Websites Entire website Webpage Lecture Social media Social media Blog post Facebook Instagram Twitter Reports and grey literature Reports and grey literature Government or organisation report Australian Bureau of Statistics Press release Brochure, fact sheet or pamphlet Legislation and standards Legislation and standards Act of Parliament Case Standard Audiovisual media Audiovisual media Film or video TV series episode TV series YouTube or streaming video Podcast episode Music Company information Company information Annual report Data set created using a company database Company and industry reports created using a database Company and industry profile from a database Other sources Other sources Reviews Personal communication Unpublished interview Dataset Sample reference list AGLC AGLC Introduction Footnotes Footnotes General rules for footnotes Repeated footnotes Discursive text in footnotes Inserting footnotes in Word Pinpoint citations Quotations within the text Citing quoted material Bibliographies Case law and Legislation Secondary sources Vancouver Vancouver Introduction In-text citations Reference list examples Endnote Endnote Endnote essentials Endnote essentials Introduction Set up EndNote Add & organise references Select a style Attach PDFs Work with Microsoft Word Save your library Troubleshoot issues Endnote extras Endnote extras Introduction Add and edit styles Attach PDFs Manage your library Work with long documents Using EndNote with other programs Library syncing Troubleshoot issues Endnote Online Endnote Online Introduction Set-up Add references Organise and share Organise and share Create groups Share groups Find duplicates Microsoft Word Troubleshoot issues About Site map Introduction Interpreting statistics Interpreting descriptive statistics Interpreting inferential statistics References Data and variable types What is data? What is a variable? Categorical and continuous data Independent and dependent variables Descriptive statistics What are descriptive statistics? Displaying data for one categorical variable Descriptive statistics for one categorical variable Displaying data for one continuous variable Descriptive statistics for one continuous variable Comparing means Displaying data for two categorical variables Descriptive statistics for two categorical variables Displaying data for two continuous variables Descriptive statistics for two continuous variables The normal distribution What is the normal distribution? Testing for normality Transforming variables Inferential statistics What are inferential statistics? Estimation Hypothesis testing Statistical significance Practical significance Parametric and non-parametric tests One sample \(t\) test Paired samples \(t\) test Independent samples \(t\) test One-way ANOVA Chi-square test Pearson's correlation Glossary Feedback Data and variable types This page details some important concepts that will be referred to in subsequent pages, including what data and variables are, and how to distinguish between different types. What is data? The word data refers to observations and measurements which have been collected in some way, often through research. Data that is recorded as numbers (and therefore measures quantities) is quantitative data, while data that is recorded as text (and therefore records qualities) is qualitative data. Quantitative data can be analysed using statistics, as can qualitative data that records qualities in terms of different categories (for example what hair colour someone has, what country someone was born in, what their marital status is, etc.), as opposed to data that records qualities in terms of thoughts, feelings and opinions. It is the former two types of data that you will be working with in this module, and shortly you will be introduced to some other terms that are typically used in statistics to describe data of this nature. What is a variable? Variables are the characteristics or attributes that you are observing, measuring and recording data for - some examples include height, weight, eye colour, dog breed, climate, electrical conductivity, customer service satisfaction and class attendance, just to name a few. As the word suggests, the value of a variable varies from one subject (i.e. person, place or thing) to another. For example the variable height could have a value of \(170\textrm{cm}\) for one person, \(163\textrm{cm}\) for another person and \(154\textrm{cm}\) for another person; the variable climate could have a value of arid for one city, tropical for another city and Mediterranean for another city; and the variable class attendance could have the value \(17\) for one class, \(25\) for another class and \(32\) for another class, etc. Categorical and continuous data Choosing the correct statistic or statistical test to analyse your data depends on the type of data, and hence type of variable(s), so it is very important to be able to distinguish between these. Most of the time you will simply need to classify your data (and hence variables) as either categorical or continuous, but each of these types can also be sub-classified. Definitions and sub-classifications for each are as follows: Categorical data is data which is grouped into categories, such as data for a 'gender' or 'smoking status' variable. Categorical data can be further classified as: nominal when the categories do not have an order, such as for a ‘marital status’ variable (furthermore, if there are only two categories then the terms binary and/or dichotomous are sometimes used); or ordinal when the categories do have an order, such as for a ‘satisfaction level’ variable. Continuous data is data which is measured on a continuous numerical scale and which can take on a large number of possible values, such as data for a ‘weight’ or ‘distance’ variable. Continuous data can be further classified as: interval when it does not have an absolute zero, and negative numbers also have meaning, such as for a ‘temperature in degrees Celsius’ variable; or ratio when it does have an absolute zero, and negative numbers don’t have meaning, such as for a ‘height’ variable. One other type of data that you might hear mentioned is discrete data, which can be defined as follows: Discrete data measures counts or numbers of events, such as data for a ‘class attendance’ variable. So while it is numerical data it is not measured on a continuous numerical scale, and hence doesn’t fit neatly into either of the classifications above. Instead you can think of it as a special kind of data that can be treated as either categorical or continuous, depending on how many values are possible. It is usually treated as continuous data, but if there are only a small number of values (such as for a ‘number of children under three in family’ variable) you might choose to treat them as categories instead. One final thing to note on this topic is that any continuous data can always be turned into categorical data, by simply creating categories out of it. Continuous data for a ‘weight’ variable could be turned into categorical data by creating categories of \(50-59\textrm{kg}\), \(60-69\textrm{kg}\), \(70-79\textrm{kg}\), etc., for example, and this can be useful if you want to analyse your continuous data using statistics and statistical tests designed for categorical data. You can’t go the other way around though and turn categorical data into continuous data, so if you have the choice then for maximum flexibility it is preferable to collect continuous data. If you would like to practise classifying variables according to the type of data they contain, have a go at one or both of the following activities. Activity 1: Decide whether you would treat each of the following variables as categorical or continuous for the purposes of analysis, by dragging them to the appropriate boxes (click on the 'i' symbol if you need a tip). Note that while categories can always be created for continuous data, you should put variables in the 'continuous' box if it is possible to collect continuous data for them. Activity 2: Decide whether the variables shown contain data that is nominal, ordinal, discrete or continuous, by dragging them to the appropriate boxes (click on the 'i' symbol if you need a tip). Independent and dependent variables When using bivariate analysis to test for relationships between pairs of variables, as detailed later in this module, you will usually have one independent and one dependent variable. Definitions of these are as follows: The independent variable (otherwise known as the predictor variable) is the one that potentially influences, affects or predicts the other variable. For example, if you are investigating whether age influences income, then age is the independent variable. The dependent variable (otherwise known as the outcome variable) is the one that is potentially influenced, affected or predicted. For example, if you are investigating whether income can be predicted by age, then income is the dependent variable. It is important to be able to distinguish between these two types, as it determines where you put each variable in tables and graphs. Keep in mind though that which variable is which depends on the context; while some variables (i.e. age) will always be independent, other variables (i.e. smoking status) might be independent or dependent depending on what you are trying to test. If you would like to practise distinguishing between independent and dependent variables, have a go at the following activity: << Previous: Interpreting statistics Next: Descriptive statistics >> Last Updated: Nov 17, 2021 2:51 PM URL: https://libguides.library.curtin.edu.au/uniskills/numeracy-skills/statistics Print Page Login to LibApps Report a problem. About Contact Site map Curtin would like to pay respect to the Aboriginal and Torres Strait Islander members of our community by acknowledging the traditional owners of the land on which the Perth campus is located, the Whadjuk people of the Nyungar Nation; and on our Kalgoorlie campus, the Wongutha people of the North-Eastern Goldfields. © Curtin University Library, 2021. Except for images or where otherwise noted, UniSkills content is licensed under a Creative Commons Attribution ShareAlike 4.0 International Licence. CRICOS Provider Code 00301J.