Message from @ThisIsChris
Discord ID: 536422580761133087
@GDoctor I'm not sure I understand the assignment. Since there's 3 months in a quarter then wouldn't the monthly average of a quarter be the quarterly costs divided by 3?
Anyone know how to transform a multivariate regression so that you can do a t test of B1 + 2B2 = 0 and B1 + B2 = 1? I already got it for B1 = B2
Base regression formula is Y = B0 + B1X1 + B2X2 + error
<@&387091385075105804> ^^^
Can someone take a look at a Java assignment for me?
<@&435155896780324864>
<@&387091385075105804>
I'm supposed to write a get method for a hashtable. It seems way too simple so I'm wondering if I'm missing something.
Are get methods for hashtables really that complex that this warrants an entire assignment?
Or am I overthinking it and this is actually really easy?
@Jacob In the future can you put this stuff into pastebin?
Yes
Jacob, you posted an essay about immigration a while back. I just read it recently and I have some feedback to help you improve your writing. I was thinking we could go through it via audio, or if you prefer, I can write it out.
Yes, I'll find some time
Can anyone explain how to create a cout statement in C++ that'll print a number array each time it's sorted?
@ThisIsChris perhaps?
<@&387091385075105804> ^^^
I'm sad that my skills are never needed when I see the AE call. It's never something I have experience with. 😟
@micbwilli what are some of the topics you like?
Biology and Chemistry are mostly what I know.
@ThisIsChris the assignment calls for output after each "pass" through an array during a sort, (any kind of sort can be used).
@GDoctor OK that makes sense! what code do you have so far?
Not much, just the boilerplate #include, main function and the array initialized. I jist wanna know how to get it to print after each pass and not just after sorting is done.
@GDoctor can you paste the code? put it between three back ticks both above and below the code:
```python
x = 3
print(x)
```
#include<iostream>
using namespace std;
int main()
{
const int NUMINTS = 20;
int randomNumbers[NUMINTS] = { 24, 9, 88, 15, 22, 38, 10, 76, 62, 54,
51, 39, 10, 13, 66, 89, 99, 100, 33, 75, };
}
```cpp
#include<iostream>
using namespace std;
int main()
{
const int NUMINTS = 20;
int randomNumbers[NUMINTS] = { 24, 9, 88, 15, 22, 38, 10, 76, 62, 54,
51, 39, 10, 13, 66, 89, 99, 100, 33, 75, };
}
```
Can anyone help with a bit of statistics? Here's the problem: if P(A|B) = 0.7 and P(A'|B') = 0.3, are A and B independent or dependent? I'm not sure if I should use Baye's Theorem or something else to relate the two statements <@&387091385075105804>
@Jakob-NY My first thought here is that P(A'|B') = 0.3 means that P(A|B') = 0.7 since P(A|B') = 1 - P(A'|B')
Oh gotta go dig deep in the textbooks for this
So P(A|B) = P(A|B')
Does that mean they are independent? Not sure...
Thanks! That definitely makes sense. The definition of independence I'm working with is that if P(A|B) = P(A) and P(B|A) = P(B), then they're independent. But I think I can figure it out from what you helped with