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

Null and alternate hypothesis can be identical #1

Open
leondz opened this issue Apr 12, 2023 · 2 comments
Open

Null and alternate hypothesis can be identical #1

leondz opened this issue Apr 12, 2023 · 2 comments

Comments

@leondz
Copy link

leondz commented Apr 12, 2023

They should be different, with null representing no unusual effect.

However, I got this on my first run:

RESEARCH QUESTION 3:
NULL HYPOTHESIS (H0): There are no challenges in creating an ordering of clusters in the Catalog Problem.
ALTERNATE HYPOTHESIS (H1): There are no challenges in creating an ordering of clusters in the Catalog Problem.
@bhaskatripathi
Copy link
Owner

Interesting. Give me sometime to fix that bug. Will let you know soon.

@bhaskatripathi
Copy link
Owner

bhaskatripathi commented Apr 13, 2023

There wasn't much to change in the code as the responses returned are stochastic. So I improved the prompts of Research_question_template and hyothesis_tempplate. Now, I have tested it and the responses are more consistent.

PROMPTS CHANGED ARE BELOW:

A)
research_question_template = """Given the following text, generate three research questions related to the topic. Ensure that the research questions are clear, focused, and can be investigated using a scientific method. Each research question should ideally involve one or more variables that can be measured or manipulated.
Text: {text}
Examples of good research questions:

  • How does variable A affect variable B?
  • What is the relationship between variable X and variable Y?
  • To what extent does factor M influence outcome N?
    Research Question 1:
    Research Question 2:
    Research Question 3:"""

B)
hypothesis_template = """Given the research question "{research_question}", generate a null hypothesis (H0) and an alternate hypothesis (H1). The null hypothesis should represent the absence of an effect, relationship, or difference, while the alternate hypothesis should represent the presence of an effect, relationship, or difference. Ensure that hypotheses H0 and H1 are never the same for the research question "{research_question}".
Null Hypothesis (H0):
Alternate Hypothesis (H1):"""

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants