My comrades Aron made these adorable pixel fan art of my Oc. He doesn't use Tumblr, but I got his permission to post these.
Chi-square is the eldest brother, Z-score is the middle and Framework is the youngest. They all have mathematical morfit.

seen from Japan

seen from United States

seen from United States
seen from United States

seen from United States
seen from United States
seen from United States

seen from United States

seen from Singapore
seen from United States
seen from United States
seen from United States

seen from United States

seen from United States

seen from Morocco
seen from United States

seen from United States

seen from United States

seen from China
seen from Indonesia
My comrades Aron made these adorable pixel fan art of my Oc. He doesn't use Tumblr, but I got his permission to post these.
Chi-square is the eldest brother, Z-score is the middle and Framework is the youngest. They all have mathematical morfit.
Chi Square: Language Recognition II
Chi Square: Language Recognition II I thought I would build on the last post by making a simple spreadsheet that can then easily show which language is being used. I chose the groupings of letters such that as long as there are at least 1000 letters in the text it will satisfy the Chi square condition of no expected values less than 1 and no more than 20% of expected values less than 5. Data I…
View On WordPress
My Thesis - A Mathematical and Statistical Algorithm to detect bias in discourse
My Thesis – A Mathematical and Statistical Algorithm to detect bias in discourse
One of the most amazing things about writing my thesis in LINFO at the faculty of Lettere at Università di Roma Tor Vergata was the development of an algorithm for the detection of bias in written and oral speech. I proposed an iteration (using convolutional networks, Chi-square distribution, and some other … spices), also applicable to Artificial Intelligence (not mentioned at that time, but…
View On WordPress
COOL! Goodness of fit can test 45 probability distributions
So cool! I found the attached software from a book of traditional Chinese version can run goodness of fit. people with stereotype thought that the test is not a good tool to find the distribution model. But now, 45 distribution (39 continuous distributions and 6 discrete distributions) can be tested. One of them might be proper for data. In particular, the software can find the parameter value. WOW!
Is frequency of drinking alcohol associated with alcohol abuse/dependence among adults?
In this short study, I try to figure out whether there is relation between the frequency of drinking alcohol and alcohol abuse/alcohol dependence among adults. Here I used CHI Square Test to study the relation between the two categorical variables.
Here I used following as my explanatory and response variables:
Explanatory Variable: Drinking frequency (Categorical with 6 levels: drinking 1,2.5,4,8,14,30 days/month)
Response Variable: alcohol abuse/dependence (Categorical with 2 levels: yes, no)
The null hypothesis in this case will be: H_0 : There is no relation between the explanatory and response variables. i.e Frequency of drinking alcohol among adults is not associated with alcohol abuse/dependence.
And the alternate hypothesis in this case will be H_a : There is relation between the explanatory and response variables. (alternate hypothesis). i.e Frequency of drinking alcohol among the adults is associated with alcohol abuse/dependence.
The U.S. National Epidemiological Survey on Alcohol and Related Conditions (NESARC) is a survey designed to determine the magnitude of alcohol use and psychiatric disorders in the U.S. population. It is a representative sample of the non-institutionalized population 18 years and older.
According to Chi Square Test on NESARC survey, it was found that:
The P value (1.09e-125) is lower than 0.05 which gives us significant confidence to reject the null hypothesis. Here we accept the alternate hypothesis. In other words, looking at the chi-square value and p value in this case, it could be concluded that both the mean frequencies of alcohol consumption are significantly different in alcohol abuse/dependence case. i.e alcohol abuse/dependence and drinking is associated with each other.
POST HOC TEST FOR CHI SQUARE STUDY
Bonferroni Adjustment.
Since Explanatory variable has 6 categorical levels, the total number of paired comparisons will be 5+4+3+2+1 = 15. The Bonferroni Adjustment in this case will be p/c = 0.05/15 = 0.0033 where, p = min p value required to accept the null hypothesis and c = number of comparisons.
The pairs compared in the post HOC study are 1) 1day/month vs 2.5 days/month 2) 1day/month vs 4 days/month ..... .... ....
15) 14 days/month vs 30 days/month Pairwise P values of each Post HOC comparison is shown in the table below.
(Python code and results posted in ‘keep reading’ section below)
For two values to be significantly different, the observed P value should be smaller than adjusted Bonferroni P value of 0.0033.
It could be observed that frequency 1 day/month is significantly different than all other frequencies. The graphical illustration of all the comparisons is attempted below.
The Post HOC results could be readjusted and graphically shown as below:
-----------------------------------------------------------------------------------------------------------
Data Used:
Is there anyone who can help me with my math homework
Hey, so I'm taking a statistics class, and I need to write a final paper. In order to do that, I need to have a dataset, with at least 30 respondents. I've written up a short survey - it's 3 questions long, multiple choice, yes/no answers for each. It won't take long at all and it would really help me out if you could fill this out for me. Everything would be kept totally anonymous. Thanks a lot in advance!
https://docs.google.com/forms/d/1TLpm7HB1I-dQXgLzGTOiQFF9vAN2_nimcfmKCRKb6yU/edit#responses
Data Analysis with Chi Square Test of Independence: Life expectancy Against Income per Person Using SAS
Here I am using the GapMinder dataset and examine the effects of different categories of income per person on life expectancy using Chi Square Test of Independence.
In particular, I am interested to statistically establish the answer the below question:
Do categories of life expectancy (high/low) vary significantly among the various categories of income per person.
To approach this, I have chosen the below Hypothesis between my categorical explanatory variable (income per person, collapsed into three categories: Very Low, Low and High) and my categorical response variable (life expectancy, collapsed into two categories: High and Low):
H0 : Life expectancy among all categories of income per person are the same
Ha : Life expectancy among all categories of income per person are not the same
The Null Hypothesis (H0), if accepted, signifies that life expectancy across the different categories of income per person are same, and therefore there is no significant relationship between these two variables.
The Alternate Hypothesis (Ha), if accepted, signifies that life expectancy across the different categories of income per person are not same, and therefore there is evidence of significant relationship between these two variables.
Since my categorical variable, income per person, will have more than two categories, the alternate hypothesis, if accepted, will not be able to determine exactly which categories are significantly different from others. In that case, I will also need to perform Post Hoc test to determine the significantly different categories. For Chi Square, unfortunately there is no easy one-shot post hoc test, therefore, I will be running pairwise Chi Square on the different categories of the explanatory variable to determine which pairs show significant difference.
In order to keep Type 1 error under check, I will be applying Bonferroni’s Correction for the p-value while deciding whether or not to reject the null hypothesis. In my case, three categories of the explanatory variable would result in 3 separate pairwise test, so I’ll use threshold α = 0.05 / 3 = 0.017 for the post hoc test.
Here is the code snippet in SAS:
Program Output
Chi Square Test on all categories
Pairwise Post Hoc (income per person category 1 and 2)
Pairwise Post Hoc (income per person category 1 and 3)
Pairwise Post Hoc (income per person category 2 and 3)
Observations from Chi Square Output
1. The categorical variable icpp_cat (income per person categories) has five categories represented as:
a. 1: Very Low (0 to 1000)
b. 2: Low (1000 to 5000)
c. 3: High (more than 5000)
2. The categorical response variable le_cat (life expectancy) has two categories
a. 0 : Low (less than 60 years)
b. 1 : High (more than 60 years)
3. Out of the 213 available data points 186 were considered for analysis (23 values were missing)
4. The Chi Square process calculated p value < 0.0001 which is much less than the threshold of α = 0.05. Therefore, we have enough evidence to reject the null hypothesis (H0) and accept the alternate hypothesis (Ha).
5. As a result, Chi Square Test revealed that income per person (collapsed into 3 categories) and life expectancy are significantly associated.
6. However, it does not deterministically tell us which categories are different. That can be arrived at from the post hoc test.
Observations from Post Hoc Test
1. Post Hoc between icpp_cat 1 and 2 (Very Low and Low) produces p value < 0.0001 which is much less than α = 0.017 (with Bonferroni’s correction). So, we reject the null hypothesis that that they are same and conclude that these two categories show different life expectancy.
2. Post Hoc between icpp_cat 1 and 3 (Very Low and High) produces p value < 0.0001 which is much less than α = 0.017 (with Bonferroni’s correction). So, we reject the null hypothesis that that they are same and conclude that these two categories show different life expectancy.
3. Post Hoc between icpp_cat 2 and 3 (Low and High) produces p value = 0.8331 which is much higher than α = 0.017 (with Bonferroni’s correction). So, we cannot reject the null hypothesis and conclude that these two categories show same life expectancy.
In summary, the post hoc test reveals income per person categories 2 and 3 (Low and High) are not significantly different in terms of life expectancy. However, category 1 (Very Low) is significantly different from categories 2 and 3 and have a much lower life expectancy.