Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create statsmodels entry for Python #5670

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

arisdelacruz
Copy link
Contributor

@arisdelacruz arisdelacruz commented Nov 23, 2024

Description

An attempt to create statsmodels entry for Python

Issue Solved

Closes #5637

Type of Change

  • Adding a new entry

Checklist

  • All writings are my own.
  • My entry follows the Codecademy Docs style guide.
  • My changes generate no new warnings.
  • I have performed a self-review of my own writing and code.
  • I have checked my entry and corrected any misspellings.
  • I have made corresponding changes to the documentation if needed.
  • I have confirmed my changes are not being pushed from my forked main branch.
  • I have confirmed that I'm pushing from a new branch named after the changes I'm making.
  • I have linked any issues that are relevant to this PR in the Issues Solved section.

@PragatiVerma18 PragatiVerma18 self-assigned this Nov 23, 2024
Copy link
Collaborator

@PragatiVerma18 PragatiVerma18 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @arisdelacruz, thanks for contributing this entry. I have some suggestions, please check the comments and do the required changes. Do let me know if you have any questions.

content/python/concepts/statsmodels/statsmodels.md Outdated Show resolved Hide resolved
content/python/concepts/statsmodels/statsmodels.md Outdated Show resolved Hide resolved
content/python/concepts/statsmodels/statsmodels.md Outdated Show resolved Hide resolved
content/python/concepts/statsmodels/statsmodels.md Outdated Show resolved Hide resolved
content/python/concepts/statsmodels/statsmodels.md Outdated Show resolved Hide resolved

# Print the summary of the model
print(results.summary())
```
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a small explanation as well as the output for the code example to make it easy for the learner to understand.


# Print the summary of the model
print(results.summary())
```
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a small explanation as well as the output for the code example to make it easy for learner to understand.


# Print the summary of the model
print(results.summary())
```
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a small explanation as well as the output for the code example to make it easy for learner to understand.

# Perform the hypothesis test
t_test = results.t_test([0, 1])
print(t_test)
```
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a small explanation as well as the output for the code example to make it easy for learner to understand.


# Plot the heatmap
smg.plot_heatmap(X)
```
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a small explanation as well as the output for the code example to make it easy for learner to understand.

PragatiVerma18 and others added 9 commits November 23, 2024 18:52
Co-authored-by: Pragati Verma <itispragativerma@gmail.com>
Co-authored-by: Pragati Verma <itispragativerma@gmail.com>
Co-authored-by: Pragati Verma <itispragativerma@gmail.com>
Co-authored-by: Pragati Verma <itispragativerma@gmail.com>
Co-authored-by: Pragati Verma <itispragativerma@gmail.com>
Co-authored-by: Pragati Verma <itispragativerma@gmail.com>
Co-authored-by: Pragati Verma <itispragativerma@gmail.com>
Co-authored-by: Pragati Verma <itispragativerma@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Concept Entry] Python : statsmodels
2 participants