Skip to content

Commit 6a0a6bb

Browse files
authored
Merge pull request #2 from fqixiang/main
Added inferential regression R notebook
2 parents 8ffcaeb + 479cbae commit 6a0a6bb

2 files changed

Lines changed: 706 additions & 12 deletions

File tree

notebooks/llm_inferential_regression_R.ipynb

Lines changed: 693 additions & 0 deletions
Large diffs are not rendered by default.

notebooks/llm_regression_modelling_py.ipynb renamed to notebooks/llm_inferential_regression_py.ipynb

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"colab": {
66
"provenance": [],
77
"toc_visible": true,
8-
"authorship_tag": "ABX9TyPjEd91ziOKNN7UQAbWdkpJ"
8+
"authorship_tag": "ABX9TyPDyNwYyocDbATQ8YBzz+P9"
99
},
1010
"kernelspec": {
1111
"name": "python3",
@@ -19,7 +19,7 @@
1919
{
2020
"cell_type": "markdown",
2121
"source": [
22-
"# Using Large Language Models for Regression Modelling in Social Sciences\n",
22+
"# Using Large Language Models for Inferential Regression Modelling in Social Sciences\n",
2323
"\n",
2424
"\n",
2525
"In this tutorial, we look at the following regression model:\n",
@@ -48,19 +48,10 @@
4848
"execution_count": null,
4949
"outputs": []
5050
},
51-
{
52-
"cell_type": "markdown",
53-
"source": [
54-
"## Influence of measurement error in regression modelling\n",
55-
"\n"
56-
],
57-
"metadata": {
58-
"id": "YlP29bfvkW1l"
59-
}
60-
},
6151
{
6252
"cell_type": "code",
6353
"source": [
54+
"# Load required packages\n",
6455
"import matplotlib.pyplot as plt\n",
6556
"import numpy as np\n",
6657
"import pandas as pd\n",
@@ -74,6 +65,16 @@
7465
"execution_count": null,
7566
"outputs": []
7667
},
68+
{
69+
"cell_type": "markdown",
70+
"source": [
71+
"## Influence of measurement error in regression modelling\n",
72+
"\n"
73+
],
74+
"metadata": {
75+
"id": "YlP29bfvkW1l"
76+
}
77+
},
7778
{
7879
"cell_type": "markdown",
7980
"source": [

0 commit comments

Comments
 (0)