Subscribe to my substack for AI Lesson Plans designed based on flipped classroom & minimally invasive methods. New lessons released every week and published first on my substack.
Unlocking Statistical Insights Through Interactive AI Exploration
This pre-class exercise harnesses generative AI to master statistical concepts. It blends critical reading, AI-driven analysis, and role-playing to make complex ideas accessible. By engaging with this challenge, students will develop the ability to synthesize nuanced arguments and gain confidence in interpreting statistical data.
(image: courtesy of ChatGPT)
Exercise Instructions:
(i) Read the assigned article;
(ii) Access Claude (Perplexity and ChatGPT should also work) and individually attach each of the figures and tables from the article (Find and download them in 'Files') and use the general prompt: 'summarize information from attached figure/table'
(iii) Now ask the chatbot to role play adding the following prompt: 'explain this figure/table to me as if you were a statistics professor and I were a first year college student with no prior knowledge of statistics'
(iv) Ask specific and follow-up questions to the chatbot (as if you were interacting with a real Statistics Professor). Learn as much as you can.
(v) Share in this thread a concise and coherent paragraph showcasing the nuances of the main argument of the assigned paper based on the skills/knowledge you have gained from this chatbot interaction. Use your own words in writing this paragraph;
(vi) Vote by 'liking' and 'commenting' your classmates' effort. The post with the highest number of 'likes' is the winner;
(vii) Be ready to share in class how much you have learned about statistics; how long you spent on this activity; what prompts you used; which bot(s) you used; your prior knowledge of statistics before this activity; and more.
Find below the example of student outputs to this lesson plan:
by Bria Smith: LinkedIn and Instagram
Overall, the assigned article focuses on how, as minority populations grow and develop, there still seems to be a significant amount of segregation. After reading the article, I used Perplexity to help me pull out some key points (as this article was a bit difficult for me to 'consume') and Claude for the subsequent questions about the graphs. From Perplexity, it is noted that the juxtaposition of increased diversity to stagnant segregation seemed to be due to the relationship between racial turnover and integration. From Perplexity: "Specifically, neighborhoods may become more diverse as White residents leave, which can lead to temporary increases in diversity without a corresponding decrease in segregation." So although certain areas are becoming more diverse as people of color move into them, the actual problem of segregation isn't being addressed. The racial populations are simply shifting instead of properly integrating.
According to Claude, the graphs altogether illustrate demographic changes in different neighborhoods from 1990-2010. When asked to roleplay, Claude began explaining the graphs in a step-by-step format but titled as "lessons" which I found interesting. As for the graphs, I was able to learn that the categorized neighborhoods (persistence, early turnover, intermediate turnover, and later turnover) show how all these different neighborhoods weren't changing in the same way. All of them became more diverse, but the speed and timing were different. For example, from Claude: "Timing matters: The "Later turnover" areas actually changed faster and more dramatically than the "Early turnover" areas, they just started changing later". This key timing component can help back up the idea that these neighborhoods weren't fully integrated for a wide variety of reasons. Such as political factors like housing policies that didn't change until later on in the study.
by Ami
The article focused on three points by testing predictions between neighborhood types: (1) those where White populations persist over time in the context of neighborhood diversity, (2) those where White populations are in the early stages of exit, and (3) those were White populations have entered turnover's final stages. These findings challenge the assumption that increasing diversity automatically leads to greater integration and suggest a more complex relationship between diversity trends and persistent patterns of residential segregation in the United States.
I noticed in the article that the authors challenge the assumption that the increase in diversity automatically leads to greater integration and suggests a more complicated relationship between diversity trends and persistent patterns of residential segregation in the U.S. The central argument in this report is that White population losses can actually result in widespread but temporary increases in diversity that in the aggregate can preserve or exacerbate segregation. To show this the article used census data from 1990 to 2010 to analyze trends in residential segregation and racial inequality, various measures of inequality, including income, education, and occupational status.
The article also used statistical models to examine the relationship between segregation and inequality over time. Then I asked perplexity to give me information about how the graphs are used in this article where it gave me a clear understanding of the graphs used to illustrate how White population losses, or "White flight," contributes to temporary increases in diversity. The tables and graphs show that these increases in diversity do not necessarily lead to stable integration. The data show that White flight can cause temporary demographic changes, but these often lead to resegregation.
The graphs emphasize how neighborhoods that appear diverse due to population shifts may eventually return to segregation as White residents exit. Therefore these visuals show White flight can actually sustain or worsen segregation. What I learned with the help of AI from the article is that people thought by sending out White people out of a community it would solve segregation which affects the neighborhood’s schools and businesses and in the long run, land value is also lowered.
Quantitative Reasoning: Understanding Inductive and Deductive Learning Through A Practical Exploration with AI and Data Analysis
Before reading the assigned article and the suggested one, select a Large Language Model (LLM) of your choice and type in: Easily explain and illustrate with simple examples the key differences between inductive and deductive learning methods
Inductive Learning
In the LLM of your choice type in: create a simple, small and mock dataset for the following theme: xxx. Disclose which LLM you selected. I used CoPilot this time around but feel free to experiment with other ones such as Gemini, Perplexity, ChatGPT, Claude, Llama, You, Kagi, DeepSeek, Grok, Poe, etc. Pay attention to the limited free daily quota of each model, particularly Claude.
Now type in in the same model: identify key patterns and relationships in this dataset
Once you internalize this information, add: predict how changes in xxx modify the original patterns and relationships
After digesting the former output, continue the conversational search with the following prompt: formulate general principles of linear regression based on these observations
Share a brief but original reflection on what you think of inductive approach as a learning method to understand the relationships between xxx
Deductive Learning
Now type in the following prompt in the same model you used above: explain what linear regression is in simple and easy terms
Move on to the following prompt once you understand the previous output: break down and easily explain through clear examples what linear regression formula encompasses
Continue the learning process using this prompt: illustrate through simple and relevant examples key assumptions and limitations of linear regression
Finally, and not rushing between each learning step, add this prompt: how does linear regression help understand patterns and relationships between xxx?
Share a brief but original reflection on what you think of deductive approach as a learning method to understand the relationships between structural racism and racial residential segregation
Challenge
Learn how to do linear regression in R, a very powerful statistical tool for data science/analytics. You definitely want to put this skill in your CV! You can download this open source software here or play with it online here or search for ‘use R online’ on Google to find other websites offering the online option.
Select one of the options below: learning with AI or learning with textbook. State which option you picked.
Your goal is to share a visual illustration of a plotted linear regression and briefly explain patterns and relationships in your own words. Feel free to use any dataset you can find online. However, you may just ask the model to create a mock dataset for you.
Learning with AI
Disclose the model you are using;
Share the prompts (not the outputs);
Share the image of your linear regression and your brief original explanation;
Reflect on (i) whether you used primarily an inductive, deductive, or mixed approach and (ii) how ‘learning with AI’ helped you (or not) in this learning method;
Share how much time you spent on this challenge.
Learning with Textbook
Access the most well-known and open source textbook for a gentle introduction to R;
Learn how to do linear regression from information provided in the textbook;
Create a mock dataset, or use a real one, to plot your linear regression;
Reflect on (i) whether you used primarily an inductive, deductive, or mixed approach and (ii) how ‘learning with textbook’ helped you (or not) in this learning method;
Share how much time you spent on this challenge.
Finally
Read the assigned reading, you find it in course syllabus. I highly encourage you to read it in its entirety but feel free to use AI to summarize it for you, if you need it. Also, read this suggested paper for class focused discussion.
PS. Only outputs shared one-hour before class starts will be included in classification feedback.
PS. Those very interested in the topic may take a look at this project.
Do not forget to like and comment your classmates' effort.
Find below examples of students’ outputs to this lesson plan:
by Elliott Stevens; tut72054@temple.edu; @elliottstevenz
1) Original reflection on what I think of an inductive approach as a learning method to understand the relationships between structural racism and racial residential segregation:
One detail that I value highly about the inductive approach is that it has a foundation in real life experiences and real-world circumstances. Instead of kind of forcing data to fit an assumed idea, inductive approaches encourage a bottom-up method to show how structural racism occurs in everyday life. For example, starting with an observation of neighborhoods with high poverty rates or unequal school funding can reveal how these systemic issues are deeply intertwined with residential segregation, leading to a more broad insight about the inequality rooted in certain areas. The inductive approach also encourages curiosity and critical thinking, and it can challenge us to look beyond common explanations and think about why certain patterns exist and also about what kind of systemic issues are at play. The inductive approach also underlines the complexity of structural racism, and recognizes that its causes and effects are rarely based on just one or two things or but also deeply rooted in historical and social contexts.
2) Original reflection on what I think of an deductive approach as a learning method to understand the relationships between structural racism and racial residential segregation:
The deductive approach, which can often can begin with broad theories and applies them to specific cases, offers a focused and structured way to study the relationships between structural racism and racial residential segregation. What I found effective about this approach is its effectiveness in testing a specific idea or data. For example, if there is a theory that suggests racial residential segregation limits access to quality education, the deductive method provides a clear pathway to test this through data analysis, and looks at specific criteria such as systemic inequality or institutionalized discrimination, and uses these terms to predict and analyze how segregation operates in housing, education, or economic opportunities. This approach is useful for confirming patterns or identifying where certain ideas fall short, and offers a way to refine our understanding. However, the deductive method has its limitations in exploring issues as complex as structural racism and it may overlook unexpected patterns or interactions. Structural/systemic racism has lots of layers to take into consideration and the deductive approach can sometimes hinder the discovery of new and insightful information.
Challenge: Learning with AI
The AI I am using is ChatGPT (free version). Prompt into ChatGPT: "I need to use R to share a visual illustration of a plotted linear regression. I can use any dataset you can find online. However, can you create a mock dataset? And how would I use this in Posit Studio Desktop? If that doesn't work, I'm available to try any free program online to do this. I would like to share the image of a linear regression." The outcome was amazing, as the AI taught me how to use R and showed me which data to input into Studio Desktop - Posit. Here is the image of Linear Regression after I followed the steps to use the free program listed Studio, and everything worked as outlined by ChatGPT.
The scatterplot with the regression line shows a positive linear relationship between the segregation index and average household income. As segregation increases, the average income also tends to rise. However, the randomness in the data could indicate that segregation alone does not fully explain the variations in income. This pattern suggests that while segregation may correlate with income levels, other factors could also play a significant role.
I primarily used an inductive approach for this project. By working with specific data and observing patterns, I developed an insight about the relationship between segregation and income. This bottom-up process like I mentioned earlier allowed me to explore how the regression model visually represents these patterns.
(ii) How learning with AI Helped:
Learning with AI enhanced my understanding by simplifying complex concepts. It would've probably took me many days or weeks to learn how to do this type of skill without a teacher or the assistance of AI. ChatGPT AI provided a step-by-step guidance on linear regression, data creation, and visualization in R. I was able to focus more on interpreting patterns rather than struggling with technical tools, making the learning process more efficient and actually kind of fun. I am honestly shocked that this only took me about 2 hours to complete in total time, maybe even less. It's very encouraging that we can all adopt new skills in much less time these days, and this could boost our CV like mentioned in the assignment, and provide us more career and money making opportunities, what an exciting time to be alive!
by @emmanamii
After reading the article, and highlighting a few statistics that stood out, I used those numbers and pasted it into ChatGPT, asking for it to make a dataset with these numbers.
Reflection regarding the dataset:
After prompting my LLM to identify key statistics, it felt easier to recognize and acknowledge the dataset it provided. Some things were an obvious standout, but I was intrigued in comparing socioeconomic disparities and housing loan denials. This was interesting because I learned more about an unfamiliar topic- housing loans. After, I used my LLM to help me conclude that denial rates for housing loans in segregated areas are increasing, like Livonia and Jackson climbing to over 30%.
Inductive Learning
Personal Reflection:
Inductive learning is certainly helpful because it lets us conclude data without it directly telling us so. By giving a visual representation of data, and allowing others to connect the dots on their own, it can let others strive to know more about the "image" they are presented. They may notice that one unique trend, that is different to the rest of the data, and start to question why that is. That leads them to do their own research and conclusion, to the point where they essentially search for answers or context.
However, there’s a challenge in this approach, too. Inductive reasoning requires knowing your observations may be incomplete, that what you see might not capture the full truth. It’s about letting the evidence guide you while staying open to stories that data alone can’t tell. Ultimately, inductive learning fosters a mindset of exploration and empathy. It pushes us to ask, "What am I not seeing? What patterns might I have overlooked?" In the context of understanding structural racism and residential segregation, inductive learning feels intriguing; as there is so much layered beneath this topic. As you research more and more, you begin to understand and visualize the lived realities behind the numbers of any graph or data set.
Deductive Learning
Deductive learning is similar, where we make observations and try to find reasoning. However, the difference lies in how we conclude. This learning style can be helpful when trying to confirm or deny any theories- where as in this case, it can also be stereotypes.
Applying this method to structural racism and residential segregation can be tough, as there are many aspects to consider, such as history and lived experiences; but on the other hand, one data set may also not be enough to confirm/deny a theory. It’s really about testing and searching for what we already may suspect. One thing I do admire about this approach, is that it’s the kind of thinking that holds you accountable to your claims, demanding proof for every assumption.
Challenge-Learning with AI
I decided to use ChatGPT to help me generate the code I out into the "Run R code online" website. I asked it, "I want to use R to create a plotted linear regression. Could you create a mock data set showing the relationship between segregation and income, and write a script to implement this?" It was amazing how easy it was to implement this, and this would've definitely taken me longer if it weren't for these AI tools.
The red line illustrates a positive linear relationship between segregation and the average household income. Although the blue points do not exactly touch the red line, we can see a similar pattern, and can conclude that there is certainly a correlation.
For this project, I adopted an inductive approach to analyze the data. I focused on specific observations and used them to identify broader patterns, which led to insights about the relationship between segregation and income. By using this method, I was able to see how individual data points interact within the regression model and how trends emerge visually. This hands-on exploration deepened my understanding of how statistical models work to represent real-world relationships, making the abstract concepts of correlation and regression much more tangible.
(i) Read the entire assigned article;
(ii) Share, in your own words, what you have learned from this paper;
(iii) Ask ChatGPT to create a webpage e.g. 'create a beautiful and simple webpage with images and compelling text about (theme)' 'what is the code of this webpage?'
(iv) If interested, design your own webpage. You may use this online coding editors/compilers (1, 2, 3). i) find out what hmtl and css are; ii) play around with editing text, font, color, etc.; iii) figure out how to add your own images to the code and how to display them; iv) share an image (or a link) of your webpage.
(v) like and comment your classmates' effort.
(vi) reflect on the similarities (advantages and disadvantages) between i) learning how to code in a reverse engineering mode vs bot/someone creating a webpage for me with no or rather limited additional/incremental inputs and ii) learning in a scaffolding manner with bots vs using bots outputs with no or minimal critical thinking. Be ready to share your thoughts on this in class!
P.S. If you i) found a better free online editor/compiler, ii) figured out how to add image to the code and get it displayed, and/or iii) managed to get a free link to your webpage, please share your lessons in this thread so we can all learn from your effort.
Find below the example of a student output to this lesson plan:
by Jun Ito; Jito0314@gmail.com
The division between Conservatives and Democrats in America is sad. I had vaguely studied critical race theory/CRT in an introductory class, but this article persuaded me to support it. Author Billings was masterful at explaining so many aspects of CRT in just one chapter. I learned from her article:
1. The importance of storytelling. Billings started the paper with an anecdotal story regarding the importance and prevalence of racism. This hook sparked my curiosity, and it lasted throughout the paper.
2. CRT stems from CLS/Critical legal studies developed in the 70s to legally objectify inequalities in class structure.
3. The paper mentioned that Black people only accounted for 3.8% of total doctoral degrees awarded in 1991. According to Statista, in 2020-2021 the number has increased to 8.8%.
4. I was shocked to hear the research where white people interviewed reported that it would take them $50 million to become Black. Overall, Billings was persuasive in endorsing CRT in education, and I believe CRT can be an effective tool in combating segregation in the United States. I found the author defending O.J. Simpson problematic. Although I agree that no person should have made it about the jury’s race, the author should have used a better example where the defendant was not believed to be guilty in today’s society.
I used W3Schools to create my website: https://criticalracetheoryjun.w3spaces.com
It was a new experience. I am amazed at people who are good at making websites, especially because even the simplest things were challenging for me.