Recent content by 1plus1is10

  1. 1

    Calculating a "fixed profit" on inventory

    So, I discovered that I need to convert my data into a Histogram: Wikipedia: Histogram Then that will give me the Mode. And, hopefully, that is what I need. Coincidentally, I ran across the Central Limit Theorem: Wikipedia: Central Limit Theorem It makes me wonder if all I really needed was...
  2. 1

    Calculating a "fixed profit" on inventory

    Okay, forget that webpage reference now. My problem is that my data (a1, a2, a3, etc.) are not convenient whole numbers that magically create a Mode.
  3. 1

    Calculating a "fixed profit" on inventory

    So, after searching the web even more, I now think the math question that I am asking is: How do I calculate the Mode of a Skewed Distribution? Maybe someone would be willing to tell me in layman's terms what this webpage says: Mode of Grouped Data I'm unfortunately a 1+1=2 level guy.
  4. 1

    Calculating a "fixed profit" on inventory

    Oh well. It is obvious that my choice of using "products and sales" is a distraction to the math calculations I wish to learn about. Allow me to use a different analogy... A person shoots a cannon 1000 times at different angles. Each cannonball has a different peak altitude. Some are duds and...
  5. 1

    Calculating a "fixed profit" on inventory

    Summary: Calculating a "fixed profit" on inventory [Mentor Note -- after an initial move to the schoolwork forums, this thread turns out to be a General Math question after all (see posts #5-6), so it is moved back to the General Math forum] I have 1000 products for sell in a store. Some make...
  6. 1

    I How to solve an equation with FMOD in it

    After doing some more Googling "replace floor". I can now remodel my kitchen. Ha ha, just being funny. But I did find a couple of related hits: https://math.stackexchange.com/questions/680319/is-it-possible-to-rewrite-floor-functions-applied-to-a-fraction-using-only-the-a...
  7. 1

    I How to solve an equation with FMOD in it

    Mark44, I appreciate the fact you know C++ which is what I use to perform calculations. But this for me really is a "converting-to-basic-algebra" problem at the moment. I'm posting my "Math Notes" for you to get an idea of what I typically use to help me: A1 A2 A3 A4...
  8. 1

    I How to solve an equation with FMOD in it

    Yes, I know. I just do not know math markup code.
  9. 1

    I How to solve an equation with FMOD in it

    std::cout << 5.0-(4.0*floor(5.0/4.0));
  10. 1

    I How to solve an equation with FMOD in it

    Actually fmod(5.0, 4.0) is 1.0 and anuttarasammyak is on the right path with converting it that way. You can test it here http://cpp.sh/ #include <iostream> #include <cmath> int main(){ std::cout << fmod(5.0, 4.0); }The problem becomes, I have no idea how to do algebra with FLOOR unless it can...
  11. 1

    I How to solve an equation with FMOD in it

    I have: a = FMOD(((x*y)-z), x) / x When I look at this, I think it could most likely be simplified algebraically if I could only replace FMOD with algebraic math. After searching the web, I realize that this is more than I would know how to do since FMOD uses FLOOR. Anyway, I thought I would...
  12. 1

    I What is the expected value of Cov(x,y)2 in an independent X and Y scenario?

    To focus on Math... Linear Regression has a slope of: cov(x,y)/var(x) Correlation is: cov(x,y)/sqrt(var(x)*var(y)) So why are you calculating cov(x,y)2
  13. 1

    I What is the expected value of Cov(x,y)2 in an independent X and Y scenario?

    I'm guessing this youtube video might interest you (start at 4:00): (regarding Principal Component Analysis)
  14. 1

    A I need a Straight Compact Linear data model

    After toying with this some more and also stopping to ask, "what do I actually see", I think I now understand the problem: = It's all relative (it's all about scale). Basically, if I look at each side of my graph independently, then the PCC results make much more sense. More specifically, the...
  15. 1

    A I need a Straight Compact Linear data model

    PS... Straight can be up or down also, not just flat. As long as it is compact and straight.
Back
Top