Skip to content

Commit

Permalink
Temporary graph data for Sim 3 multicollinearity
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan-CTL committed Dec 4, 2024
1 parent d8b0753 commit 3f4b7fc
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion media/js/src/simulations/simulation3/simulationThree.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React, { useState } from 'react';
import { SkedasticityScatterPlot } from './skedasticityPlot';
import { MulticollinearityScatterPlot } from './multicollinearityPlot';
import DATA from './generatedData.json';
import { Katex } from '../../utils/katexComponent';


export const SimulationThree = () => {
Expand All @@ -13,7 +14,31 @@ export const SimulationThree = () => {
return (
<div className="simulation">
<div className="simulation__workspace">
Work space
{stage == 1 &&
// Temporary Data Display, TO BE REFINED
<ul>
<li>
<Katex tex={`corr(y, x_1) =
${DATA.x1.rvalue}`} />
</li>
<li>
<Katex tex={`corr(x_1, x_2) =
${DATA.x2.rvalue}`} />
</li>
<li>
<Katex tex={`SE(\\hat \\beta_1) HTS-robust =
${DATA.x2.stderr}`} />
</li>
<li>
<Katex tex={`corr(x_1, x_3) =
${DATA.x3.rvalue}`} />
</li>
<li>
<Katex tex={`SE(\\hat \\beta_1) HTS-robust =
${DATA.x3.stderr}`} />
</li>
</ul>
}
</div>
<div className="simulation__graphspace">
{['Skedasticity', 'Multicollinearity'].map((label, index) => (
Expand Down

0 comments on commit 3f4b7fc

Please sign in to comment.