formula

  1. P

    Time shift with distribution

    Hello, I'm looking for a formula that accounts for a timeshift that is distributed (weibull/lognormal) For example. I have "hits" that fall into a week. W1: 1 1 1 1 1 1 Total hits W1=6 W2: 1 1 1 1 Total hits W2=4 W3: 1 1 1 1 1 Total hits W3=5 W4: 1 1 1 1 1 1 1 Total hits W4=7 Each week is...
  2. R

    Help to formally write down a linear regression

    Hello altogether, i am currently analysing a dataset of 10,000 transactions. I am analysing the effect of different advertising campaings on the quantity of chairs by using multiple linear regression model with zip code and day dummies. I am interested in formally writing the regression model...
  3. A

    formula for factorial ANOVA interaction effect

    Good day. I have a question regarding the formula for calculating interaction effects. In Andy Field book he gives: SSa×b = SSmodel − SSa − SSb, where a and b are the different factors in our model. What happens when we have 3 or more factors? Is this then: SSa×b×c = SSmodel - SSa - SSb - SSc...
  4. B

    How to find a median of medians? No raw data

    0000000000000000000000000000000000000000000000000000000000
  5. B

    Weighted values from correlation coefficients

    I've been pressed to find a similar existing example of what I'm trying to do, but maybe i'm not phrasing it incorrectly. Essentially, I want to do a dynamic pricing model. Create a formula where i take the correlation coefficients of various variables related to pricing, and then when...
  6. A

    Cronbachs Alpha- Quick question, urgent help needed

    Hi guys, hope you are all doing fine. I have an exam on monday and need to know how to calculate Cronbach's alpha. I know that you have to use the spearman brown formula when you shorten your scale. I can't quite figure out what to do when the scale gets longer. Here is the example...
  7. L

    What are these formulas and what is their purpose? n=(sigma^2)(Z_alpha/h^2); two more

    I can't find reference to these formulas in the slides posted by my professor. I also can't find any versions of these formulas anywhere else online - guess my google-fu sucks. I get what Z_alpha is (critical value), I know what sigma is (population standard deviation), and n I guess is the...
  8. C

    Formula for prioritization

    Hey guys, I hope you are all doing well. I have a quick question related to an applied research I need to make for my job. Basically, we have a team of 5 people and we are doing different tasks for customers based on the priority of the tasks. So we are having a random order every day (each one...
  9. F

    probability formula

    Hello, I would like to know the formula that would allow me to do the following; Assume; 1. 200 total events occur in 100 days (ie; 2 events per day) 2. Total events sum is made up where a = 60, b = 100 and c = 40. For each day, I want to know (the probability) of the event was from...
  10. E

    Calculating Population-weighted Atkinson index in Excel

    For my dissertation, I am calculating inequality on a worldwide level, between countries. In my calculations, I would like to give each country a different weight according to the share of population they have in the total world population. So far, I have had no troubles in finding...
  11. T

    How To Test A Distribution For Normalcy

    I'm looking for Visual Basic source code that will, after entering the data of a distribution, test that distribution for being normal or 'almost' normal. Alternatively, I am looking for step by step instructions for such a test, so that I will be able to create the source code myself. Thanks.
  12. C

    Help for drawing linear trend with lm or abline.

    Hi, I am a complete newbee in R, and I have a problem with linear trend fitting. My data is daily financial data for around 4 years. The financial year is 260 days (5 days a week) so the total amount of data is 913. For the simplicity, the data is only one cloumb with 913 data and with one...
  13. trinker

    Proper name for scores calculated via formula

    Often in my field folks will take various count data and apply some formula to input different information and output some sort of summary. An example is readability scores: What is this act of data manipulation called? I'b played with ... data transformation data summarizing...
  14. P

    Problem with creating a proper formula with missing values

    Hello! I have a problem with creating a proper formula for creating a sum score of 11 questions. (using SPSS 20.0) I use questions wich people can score a 0, 1, 2 and 3. This scale uses 11 questions. The formula i have to use to create this score is: (total score of 11 questions) / (3* the...
  15. C

    Computing the test statistic: Not sure which Formula I need

    Not sure which formula to use... A Health and Fitness company would like to determine if a new product improves cardiovascular fitness. A sample of 20 new customers agreed to take a treadmill test before and after using the product. The test measured how long they could run on the treadmill...
  16. U

    Formula Help (warning explicit material)

    Ok, i am trying to work the cultural distance between Peru and Denmark for my Thesis. The formula is:LINK TO FORMULA Instead of United States the Scores of Peru need be entered. Peru Scores:Power Distance 64 Individualism 16 Masculinity 42 Uncertainty 87 Denmark Scores:Power...
  17. K

    Sst= ssw+ssb

    Hi everyone, I have this problem to solve. It's been a while since I tried to figured out how to do, but I am totally lost. Here it is. Prove SST= SSW+SST in one-way Anova (one factor). Σ ( xi - x̄ )² = Σ (xi - x̄ + x̄ k - x̄ k ) ² Hint: Σ [ ( xi - x̄ k ) + ( x̄ k - x̄ )]² Where...
  18. trinker

    Help writing what I'm doing mathematically

    I am not a mathematician and thus need major help representing my actions mathematically. First I'll explain what I'm doing and then a crack at writing a formula for it. I have time stamps for two codes that look like this (call them code x and y): #code x duration start end 5...