Categorical Variable Regression in Stata Part1

In regression analysis, quantifiable data often steals the spotlight. Yet, there are instances where qualitative or categorical variables like gender, ethnicity, age groups, or even something as simple as car colours play a crucial role. How do we seamlessly integrate these categorical variables into our statistical models? Take, for example, a study examining how gender …

Categorical Variable Regression in Stata Part1 Read More »

Copy file from one folder to another using Stata

To copy a file from one directory to another or from one folder to another in Stata, we use the “copy” command. If we want to copy “image.png” from Folder1 to Folder2, then we will use the following command copy “D:\copy file\folder1\image.png” “D:\copy file\folder2\” Once executed, this command would copy the image in the Folder …

Copy file from one folder to another using Stata Read More »

Data Types in R

There are different types of data sets that can be used in R. These data sets include integer, numeric, logical, character, complex and raw data sets. The integer data, as the name says, represent the integer numbers without any decimal points. These types of data in R is used to store concrete or countable values. …

Data Types in R Read More »