statistics Questions

3

Solved

I need to calculate period medians per seller ID (see simplyfied model below). The problem is I am unable to construct the ORM query. Model class MyModel: period = models.IntegerField(null=True,...
Ommiad asked 10/1, 2020 at 18:11

2

I was wondering if someone knew about a python package that implements MLE to estimate parameters of a Dirichlet distribution.
Ginnifer asked 17/3, 2015 at 20:0

3

I'm currently using the RabbitMQ (3.6.2-1) on Ubuntu(16.04) in production. Producers publish messages and consumers consume messages and everything works correctly but sometimes RabbitMQ doesn't re...
Monaural asked 26/10, 2018 at 11:17

9

Solved

i'm calculating Gini coefficient (similar to: Python - Gini coefficient calculation using Numpy) but i get an odd result. for a uniform distribution sampled from np.random.rand(), the Gini coeffici...
Jewett asked 15/9, 2016 at 13:26

2

Solved

Based on getting Query Execution Statistics using this extremely useful piece of SQL obtained from this post Most Executed Stored Procedure - Stack Overflow: SELECT TOP 100 qt.TEXT AS 'SP Name', ...
Ginsberg asked 11/2, 2010 at 9:55

3

I have learnt that it is the randomness of the pixels. But please help with how this randomness is being calculated mathematically. And also how different images will have different entropy.
Clorindaclorinde asked 13/5, 2018 at 5:41

5

I'm using the GROWTH (or LINEST or TREND or LOGEST, all make the same trouble) function in Excel 2003. But there is a problem that if some data is missing, the function refuses to give result: You...
Monger asked 31/1, 2013 at 9:49

2

Solved

I am trying to get density estimates for the log of stock prices in R. I know I can plot it using plot(density(x)). However, I actually want values for the function. I'm trying to implement the ke...
Tavish asked 27/1, 2013 at 20:2

4

Solved

I would like to pick a number randomly between 1-100 such that the probability of getting numbers 60-100 is higher than 1-59. I would like to have the probability to be a left-skewed distribution...
Emarie asked 20/7, 2014 at 21:11

3

Solved

Is there any module or package available in Python for using Design of Experiments (DoE) methods?
Sitzmark asked 6/2, 2013 at 22:47

5

Solved

I have some more or less linear data of the form: x = [0.1, 0.2, 0.4, 0.6, 0.8, 1.0, 2.0, 4.0, 6.0, 8.0, 10.0, 20.0, 40.0, 60.0, 80.0] y = [0.50505332505407008, 1.1207373784533172, 2.19818447190200...
Natation asked 3/4, 2012 at 9:45

3

I want to generate data in Python that behaves like real stock market data, which means I need to be able to specify and play around with all of the first four moments. Only being able to control s...
Lacey asked 13/4, 2019 at 16:42

1

Solved

I am conducting some nonlinear optimization using multivariate probabilities as my objective function. I've spent hours thinking I had issue with the optimization algorithm, but actually I've track...

24

Solved

I'm trying to run two things: first, I'm creating a PDF with 4x5, ending with dev.off(), and then trying to create a new graph. However, after starting the second plot, I get: Error in gzfile(file...
Andino asked 12/3, 2013 at 13:51

7

For example, I have an xls where : column A has list of items with property A column B has list of items with property B I need the following : column C which is A union B (unique items of bo...
Outstay asked 2/7, 2015 at 13:53

36

Solved

In R, mean() and median() are standard functions which do what you'd expect. mode() tells you the internal storage mode of the object, not the value that occurs the most in its argument. But is the...
Prepotent asked 30/3, 2010 at 17:55

22

Solved

I need to compute combinatorials (nCr) in Python but cannot find the function to do that in math, numpy or stat libraries. Something like a function of the type: comb = calculate_combinations(n, r...
Unicef asked 11/6, 2010 at 18:13

2

Solved

I have a data set which is a numpy array say a=[a1,a2,.....] and also the weights of the data w=[w1,w2,w3...]. I have computed the histogram using numpy histogram package which gives me the hist ar...
Mcbee asked 6/10, 2016 at 11:0

0

Screenshot demonstrating the use of Excel's Solver: I have a task to automate a certain excel worksheet. The worksheet happens to implement a logic with an excel plugin called Solver. It uses a si...

8

Solved

After reading How Not to Sort by Average Rating, I was curious if anyone has a Python implementation of a Lower bound of Wilson score confidence interval for a Bernoulli parameter?
Drawn asked 5/4, 2012 at 13:32

10

Solved

When I try to define my linear model in R as follows: lm1 <- lm(predictorvariable ~ x1+x2+x3, data=dataframe.df) I get the following error message: Error in `contrasts<-`(`*tmp*`, value =...
Cecum asked 11/8, 2013 at 11:4

5

Solved

I have a dataframe with a column that has numerical values. This column is not well-approximated by a normal distribution. Given another numerical value, not in this column, how can I calculate its...
Levileviable asked 29/6, 2017 at 12:18

5

Solved

I'm doing a simple linear model. I have fire = load_data() regr = linear_model.LinearRegression() scores = cross_validation.cross_val_score(regr, fire.data, fire.target, cv=10, scoring='r2') print...
Buy asked 12/4, 2014 at 22:24

5

I would like to be able to generate random numbers with a probability density function that comes from a drawn curve. These two below have the same area under the curve but should produce lists of ...
Oleneolenka asked 15/1, 2017 at 4:3

1

An answer to this question claims that scipy.odr should compute an orthogonal regression and that it will be equal to the total least squares solution. You can use scipy.odr it will compute orthog...
Inexhaustible asked 18/12, 2021 at 20:39

© 2022 - 2024 — McMap. All rights reserved.