instruction stringlengths 9 38.7k |
|---|
I have a simulated dataset comprising signals (binary) and a set of continuous inputs. When the continuous var goes up over than a threshold, the system is switched on, which means that the signal outputs 1 in this case.
Usually the continuous variable doesn't increase that much and stay below the threshold, the signa... |
Statistical inference using p-values results in accepting or rejecting a hypothesis given some p-value, say 0.05. So, if p = 0.05, we can conclude an effect is "significantly" different from zero with 95% confidence. However, I then test a second hypothesis with the same data set. Again, p = 0.05, and I can make the sa... |
I try to estimate a log-log specification to obtain an estimate of elasticity. Therefore, I need to log transform my data. My raw control variable is continuous, but my raw dependent variable is in intervals (say, it only takes 6 values: 5000, 6000, 7000,... 100,000).
I know that log transformation is usually applied ... |
I'm hoping that people will indulge me a beginner question, but I was recently learning about association rule learning from a lecture on Information Retrieval. (For reference, the video I was watching is here). As a disclaimer, I'm still new to this area, so hopefully I'm not missing something obvious.
So, my understa... |
Pick a positive integer $N$. I want to know $N$, but you won't tell me. Instead, you tell me four things:
Draw a random number $n_{p}$ from a Poisson distribution defined by its expected value $\lambda = hN$; tell me $n_{p}$.
Draw a random number $n_{b}$ from a Binomial distribution defined by $N$ trials and probabili... |
I am analysing the precision of an RTK GPS solution. I have a set of 2000 errors - distances from the average
and I would like to calculate the 3-sigma value, which, were it Gaussian is ~13 mm. Now, the deviations are not at all Gaussian, here the absolute error values
and I think that the classic calculation of sigm... |
I want to interpret Kendall's Tau-b z-score values. For large enough sample sizes, its distribution is probably normal and there isn't a problem. But for small sample sizes, I want to know if there is a critical values table I can use. Is there a difference between such a table for Tau-a and Tau-b?
|
I have a system of six co-varying variables which, through principle component analysis, can be reduced to two principle components while retaining >95% of variance explained.
The issue with PCA is that the components themselves do not make physical sense within the context of the data they're intended to fit. Some of... |
Iterative reweighted least squares (IRLS) is used when errors are heteroscedastic. Let us assume that error comes from a distribution where its mean is zero and the variance is a function of the absolute value of the input. From what I have read, IRLS is applicable here and will give better results than OLS.
My questio... |
Imagine an essentially random, very large population of people (say 50 million individuals).
A given subset of them have a disease 'D'.
By inspecting this subset, we observe that 40% of the people in it are female (F), 90% have elevated blood pressure (B), and 70% have a history of neck trauma (N).
In the overall popul... |
I am going to use Chi-squre test to see if two categorical variable are independent or not and I just realized the number of observation can affect the result of test:
Data set 1:
Group 1 Group 2
A 10 20
B 30 40
Date Set2:
Group 1 Group 2
A 100 200
B ... |
I was wondering why the expected value (i.e., long-run average) of the p-values from a simulation of a binomial experiment in the below experiment becomes roughly about $.61$, regardless of $p$; the probability of success?
Here is my simulation code in R:
simulation <- function(n, p, n.sim){
fun = function(){
... |
I want to run geographically weighted regression (GWR) with 5 independent variables (the first one is of my direct interest, while four are confounders). I ran various models (with fixed bandwidth [BW]) and for and each, I received AICc and AIC. Following is the output:
[BW] [AICc] [AIC]
[1,] 92 -1219.6... |
Newbie in stats here and I would like a bit of help.
I have geographical data consisted of many points (locations) and one vector line between them (river). I would like to do a Kolmogorov Smirnov two sample test to see how many of the geographical points are within 200 meters of the river. How could I do this and with... |
I understand that we select a subset of predictors and data points to build each tree in the random forest. The tree is fully grown till the terminal nodes are pure. Can there be a chance that for a given set of predictors and data points, terminal nodes cannot be made pure, within a prespecified tree depth. Does rando... |
We have some set of data which has been already processed elsewhere and now contains bins with unequal size and counts of occurrence within each bin (around 8-10 bins, with approximately log-like stretching). We are going to analyze the distribution in R. Most of statistical packages rather deal with raw data, building... |
I have a set of scores from a patient reported outcome scale. The variables are ordinal. There are 5000 scores collected between 0 to 2 years after enrollment in a study. The object of this analysis is to predict the the test score at two years based on the initial score and some clinical variables.
|
I'm trying to see if the ratio of men/women correlates with divorce rates. I have the following information for 4 different groups.
DV: Percentage of men dovorced; percentage of women divorced; percentage of total personnel divorced.
IV: Percentage of women in each group.
My hypothesis is that, in these 4 male dominate... |
Sorry for the confusing title, I think this is a general statistics question, but I'm working in R. I have a combined dataset of two samples from different countries (n=240 and n=1,010), and when I run a linear regression between the same three variables in each dataset, both datasets produce a significant result, with... |
Say I have an experiment to determine the value of a certain parameter, $k$. I run the experiment once and I recover a probability distribution function for $k$. If I run is 20 times I get 20 distributions. How can I calculate the total probability distribution over all 20? Simply multiplying the pdf's together won't w... |
If a clustering algorithm (e.g., Ward's clustering algorithm; based on the way various stimuli were rated on several continuous scales) succeeds (fulfils its math. objective function) in clustering a set of data, does that suggest that there is indeed a meaningful set of clusters in the data? Or is any set of data "clu... |
I am trying to understand intuitively how a kernel works in a Gaussian process. I know that GP are distributions over functions, in short you have the model $y = f(x)+\epsilon$ and the $f(x)$ follows a Gaussian process
$GP(m(x),K(x,x^{\prime}))$.
After deriving the conditional distribution we arrive at the predictiv... |
I'm trying to understand how I would decide whether a policy actually had a meaningful impact by comparing the population itself, not samples.
An example that comes to mind is comparing the number of accidents on a specific road during $n$ months prior to enacting a law to reduce the speed on that road, to $n$ months a... |
I have following model,
z=beta1+X1*beta2+e;
e~N(0,sigma2)
prob=exp(z)/(1+exp(z)); and y= 1 with prob, 0 with (1-prob).
I have the following prior:
beta~N(betahat,A^(-1)); betahat=c(0,0) and A=0.01*I
sigma2~inv-gamma(nu,ssq); nu=0.01*N and ssq=1
I want to use a data augmentation method to solve this model. The steps go... |
Can there exist two random variables such that -
1) Their means are not equal.
2) Their k-th order raw moments for all k>1 are equal.
|
I'm doing a feature selection in R, trying to find the variables which correlates with the target value most.
I use cor() to build a matrix. The problem - some of my variable as well as the target value are factors.
I converted them all to numeric, assuming the levels will represent the different factors in the matrix... |
I'm using factor analysis to combine three independent variables for further use in logistic regression. According to the textbook I'm reading there are two main options for computing a metric (composite score) for a factor: Estimating a factor score (the regression method) and generating a factor score. Estimated fact... |
I'm currently working with Binfords Constructing Frames of Reference and came across this model equation:
\begin{equation} \label{eq:area_multi}
\begin{aligned}
\mathit{AREA} = & 10 ** [3.421431 + \\
& (0.004732 * \mathit{HUNTING}) + \\
& (-0.387229 * \mathit{LBIO5}) + \\
... |
I have two nested, non-linear models for the same data, and I want to test whether the more complex model explains significantly more variance. Due to a necessary smoothing step, my data aren't independent, so I can't use standard tests for this (e.g. an F-test or likelihood-ratio test). I naturally thought of using a ... |
I have three kind of time series data.
Traffic flow data (jam factor, average speed)
Weather data (for example temperature, humidity, pressure, wind speed, wind direction)
Pollution data (PM 2.5, PM 10)
Data will certainly contain nonlinear characteristics. I mean, for example, in the case of traffic data, there wil... |
I calculate/measure two related variables $X$ and $Y$. Both of them are bounded between $[0, 1]$ (they are not probabilities though) and aren't uniformly distributed (neither randomly) as the values tend to be closer to 0.
However when I subtract one variable to the other ($X-Y = Z$), $Z$ follows a normal like distri... |
I have about 1000 samples with 20 features and I'm using Random Forest to predict a binary class.
I'm trying to apply the probability calibration process as described on scikit using CalibratedClassifierCV.
I've noticed that even though the log-loss improves after the process, the reliability graph looks much worse aft... |
A common practice in Machine/statistical Learning is to split up the dataset into a test and training set. However, 2 of my textbooks on time series analysis never do this, they apply the TS algorithms on the entire dataset to predict the next datapoint in the series.
Does anyone know why this is the case? I.e, the re... |
The question is simple. If I have an unbalanced dataset, which I want to classify according to the the values of binary response, and I use weights in a model to balance it (let's say it is a decision tree), how should I calculate accuracy (or misclassification) of that model? For example, if I want to calculate accura... |
A pollster publishes political surveys, where people declare which of many parties they intend to vote for. They declare the ‘maximum margin of error’ for their surveys. It is defined as the margin of error for a party if 50 percent of the respondents have chosen this party. Using the normal approximation of a binomial... |
Background:
Consider a null hypothesis test.
Denote $T$ the indicator r.v. for the outcome of the test,
with $T=1$ meaning the null hypothesis was rejected (positive test result).
Denote $H_0$ the event that the null hypothesis is true
and $H_1$ the event that the alternative hypothesis is true,
which is the complement... |
I have been working on a single dimensional data and trying to fit a linear model. The constraints i have is i cannot use the built in polynomial fitting functions. Thus i need to find how well my data fits using residuals and residual plots. I know polynomial regression is a linear model in terms of coefficients hence... |
This seems like a relatively simple question, but it has been confusing me due to the specifics:
A baby born in 2016 has a 88% chance of living until the age of 64, and a 53.9% chance of living until age 84.
What is the probability that a baby born in 2016 will have a lifespan of between 64 to 84?
Obviously, living to ... |
how to measure similarity? and what edit or transformation distance means?
I have looked in the literature and all give some complicated, fancy explanations, except one who used the Simpson family to demonstrate how to calculate the distance measure
Still really don't get what edit distance term means ? should we nar... |
I am running an LDA model on the iris dataset for two class (any two).
I want to now calculate the Fisher discriminant value for Fisher projection.
Does this mean I need the svd value?
|
I fit data with auto.arima function in variant with exog.
If I'm right, when exog is used, linear regression is used to fit data and residuals are fitted with arima, so coeffs of linear part must be always the same, but:
Var 1:
model = auto.arima(y,stationary=TRUE,stepwise=FALSE,parallel=TRUE,
num.cores=cn,appr... |
Here is the problem:
A bet is known to have a win rate of 25%.
Upon winning, the bet pays $100.
Player can choose the cost of the bet.
My understanding is that the breakeven bet size would be 25% times \$100 = $25, equal to the expected value of each bet.
However, I simulated this game with a short Python script: ... |
I am trying to implement the pseudo maximum likelihood approach described in Wall and Amemiya (2007) (see link to article at the end) in estimating the parameters of a nonlinear structural model of the form:
$\eta=\gamma_1\xi_1+ \gamma_2\xi_2+ \gamma_3\xi_3+\omega_{12}\xi_1\xi_2+\omega_{13}\xi_1\xi_3+\omega_{23}\xi_{2}... |
I don't understand the difference between the parameter $C$ and $λ$ in terms of the SVM. It seems to me that they are both involved in regulating over-fitting of the data.
What difference between $C$ and $λ$?
|
Is it wrong that splines are only available in GAM-models, and not in GLM-models? I heard this a while back, and wonder if this is just a misconception, or has some truth to it.
Here is an illustration:
|
I wonder what the relationship between the empirical sample correlation of two time series in levels and the one of the differenced series is.
I know that for nonstationary variables, it makes little sense to calculate the correlation between them, so one should difference the series to make them stationary and calucat... |
A random population sample was surveyed. They were asked if they eat vegetarian diet. If they answered yes, they were also asked to specify how long they’ve been eating vegetarian diet without interruption. I want to use this data to calculate average length of adherence to vegetarianism. In other words, when someone b... |
I am taking an online Deep learning class from Andrew Ng and it starts with optimising a classifier based on Logistic Regression. During the online assignment there was one paragraph which does not make sense to me:
You can see the cost decreasing. It shows that the parameters are
being learned. However, you see tha... |
I have reason to believe that an indicator variable $B$ is generated by an underlying process that disproportionately assigns a value of 1 to $B$ once another variable $A$ has passed a certain threshold point. I do not know what this threshold is. I only observe the value of $A$ and $B$ over time for multiple individua... |
I would like to request your assistance in interpreting this model in Time series.
$$
(1 − B) (1 − B_{4})(1 − 0.43B_4)X_t = (1 + 0.22B)(1 + 0.88B_4)W_t.
$$
|
I want to work out the quantiles of a linear combiation of chi square random variables.
Suppose $\lambda_i \in \mathbb{R}$ for all $i \in \{1,2,\cdots,n\}$ and $Z = \sum_{i = 1}^n \lambda_iX_i$ and $X_1,X_2,\cdots,X_n \stackrel{\text{iid}}{\sim} \chi^2_1$.
How can I work out the quantiles?
|
I saw the report on the study that claims the following:
The study found a direct relationship between a woman’s neighborhood
nighttime light level before diagnosis and her later risk of
developing breast cancer: The higher the light level, the higher the
risk.
It just doesn't pass my "sniff test", and sounds l... |
In the book Deep Learning, it says the softmax function is de facto a soft argmax function, and the corresponding soft version of the maximum function is $$\text{softmax} (z)^T z$$
How to understand the latter?
|
I have a dataset of 5000 observations and 100 features. Some people recommend me to use ANOVA and Chi-square test to drop some independent variables that are independent of my dependent variable. However, my concern is my data is not obtained from an experiment but from observation. I cannot conclude from ANOVA and Chi... |
I'd like to ask for advice tackling a new (to me) problem in conditional distributions.
Let $X$ and $Y$ be independent real-valued random vectors. Define $Z = H(X) + Y$ where $H$ is a nonlinear, possibly non-invertable map. I want to compute $f_X(x|Z=z^*)$: the posterior distribution of $X$ given the datum $Z = z^*$ (... |
I want to test if quitting game A will make a user more likely to quit game B that's on the same platform (e.g. on Steam). Quitting game B because of dissatisfaction with game A might not happen in the same day, it might take a week or maybe even two.
Could you tell me how should I design the experiment and how to comp... |
I've collected survey data and one of the questions asks:
"How often do you consume chocolate do you eat?"
-> None
-> Daily
-> Weekly
-> Monthly
I would just like to know whether these are ordinal or scaled in terms of SPSS.
Thank you, I apologize for the simplicity of the question.
|
I have some data in the form of bins and counts. Here is one complete non-truncated example:
bins: 60-100, 100-200, 200-300, 300-500, 500-1000, 1000-2000, 2000-3000, >3000
counts: 275, 320, 112, 65, 53, 44, 16, 15
Counts is the number of objects with sizes given by corresponding bin (60-100, 100-200 etc). If we const... |
Let $x_1, x_2... x_n$ be a random sample from a distribution with pdf:
$$f(x;\mu,\sigma)=\frac1{\sigma}\exp\left({-\frac{x-\mu}{\sigma}}\right)\,,-\infty<\mu<\infty;\, \sigma>0;\, x\ge\mu$$
How do I find the MLE for the parameters if both parameters are unknown?
I tried using the usual MLE with likelihood function:
$$L... |
How does a linear mixed model (LMM) deal with correlated random effects?
|
Below is a deviance residual plot obtained from a poisson regression.
Since deviance residuals is a form of standardized residuals, we do expect it to have a constant variance. However, when there are lines of points how can we interpret the plot.
|
I am trying to use linear regression to predict the earnings of the employed people (i.e. no zeros in my data set), however, no matter what I try, I can't get my residuals to be normally distributed.
I have tried things like
log(Earnings)
sqrt(earnings)
log(earnings)
log((earnings-median(earnings)/(max(earnings)-min(... |
I want to use linear regression to predict a continuous int variable using some continuous int predictors and some categorical predictors.The categorical column is not ordered.Consider toy data as:
a <- sample(1000:10000000,60 , replace = T)
b <- sample(1:90 , 60 , replace = T)
c <- c("a#" , "b$" , "c*" ,"d@")
c <- rep... |
Is there the library in R, which work in the next way?
1. load the data!
2 it iterates model using different methods (neural network, random forest,(g)lm, etc) and different setting until it gets the best results which is possible on this data?
Something like is implemented in SPSS Modeler , but works very bad!
Maybe t... |
Last week, I encountered a problem which mix cross-validation and undersampling. I am so confused about it. This is a small data mining competition. I was supposed to build a model based on data from the March, which is supposed to classifier whether people of the June will buy the specific product or not, that is to s... |
Consider the robust completion problem of a matrix $X$ where $X_{ij}$ are observed matrix entries for $(i, j)$ ∈ $Ω_{obs}$ i.e,
$\min_{L,S}$ $\text{rank}(L) + \mu ||S||_{0} $ subject to $X_{ij} = L_{ij}+S_{ij}$ ; $(i,j) ∈ Ω_{obs} $
with convex relaxation
$\min_{L,S}$ $||L||_* + \lambda ||S||_{1} $ subject to... |
I have come across the term "saturation" in the context of neural networks and I can't find a straightforward definition for it. for instance:
Because linear units do not saturate, they pose little difficulty for
gradient- based optimization algorithms
Does someone have a good definition for "saturation"?
|
I try to perform a propensity score matching and find that the number of firms in the treatment group is more than that of the contorl group (like 3000 treated over 700 controls). I noticed that there could be a bias if we match many treated with the same control. Yet, I looked over the discussions and found that a rem... |
I've fitted a model based on data from 2002 to 2013, treating year as a contrast variable. Year is one of several predictors.
I would like to test it by asking it to predict() with newdata = data2014 and then comparing fitted with actual values. But it points out "2014 not in original fit." Oops. Is there a way around... |
Can someone please walk me through the final step for LLE? Specifically, computing the coordinates of the vectors $Y_i$ on the lower dimensional manifold.
Disclaimer: I am aware of another post regarding LLE steps; however, it was largely inaccessible for me.
|
I have two continuous variables. They have the same shape, but there is some time shift between them. In the following plot you see a line plot:the values (y) and time (X).
Which measure can I use to report this similarity. I looked at the Pearson and spearman correlation and I found that they gives low values like -0... |
This initially arose in connection some work we are doing to a model to classify natural text, but I've simplified it... Perhaps too much.
You have a blue car (by some objective scientific measure - it is blue).
You show it to 1000 people.
900 say it is blue. 100 do not.
You give this information to someone who cannot ... |
I was given some SPSS syntax and need to recreate the analyses in R. In SPSS, the analysis is a repeated measures GLM where the outcome variable is measured four times per subject and each subject comes from one of three groups. The goal is to see if there are main effects of time and group and an interaction between t... |
In the paper it has mentioned how they consider classification and localization loss . But it is not clear how the TF-OD API for SSD model does that. Can any one brief this ?
|
I know RNNs (with LSTMs or GRUs) are now one of the most promising options for modelling sequential data, when ordering of the data matters. However, sometimes there are also some categorical variables associated to each data point from the sequence that also matter to model the pattern. For example, consider some time... |
Consider a signal that obeys: $y \propto exp(x)$. Here a semi-log scale makes sense. Or even a case where $y \propto x^k$ a semi log scale will do the work.
Why is there any motivation to scale into log-log scale. Is it just for case where $y^m \propto x^k$?
It's not clear from the wiki page as well. It's obviously w... |
I recently got to work on a problem of forecasting five years of data. But I only had five data point from previous years i.e. yearly data (frequency = 1). The data is heteroskedastic. For example, [574,1346,2051,6700,40].
What would be a best model to estimate the next five years? On my research , a linear regression... |
If I have a binary variable, say sex, and I want to test whether multiple other variables are associated with it. To do this, I run a logistic regression of the form
\begin{equation}
logit(probability(sex = male)) = \beta X1 + \beta X2 ... + \beta Xk
\end{equation}
Once I do this, I calculate the pseudo R-squared, an... |
IIUC, the value function of a state $s$ given a policy $\pi$, $v^{\pi}(s)$, is the expected (discounted) return starting from $s$. The confusing part for me is that if it is possible to revisit a state in an episodic task and each episode has at most $\tau$ time steps, the time that we see a state is relevant. Is there... |
I am currently conducting a quantitative experimental research wherein 2 groups will be my participants. The research aims to determine whether or not Code-Switching is an effective tool to achieve academic proficiency within the students.
Controlled Group - Will receive no treatment and will be simply taught in pure e... |
I'm very familiar with a lot of undergraduate to M.S.-level textbooks, as well as measure-theoretic textbooks, but I'm not at all knowledgeable about Ph.D. methods texts.
Namely, there's a Ph.D. methods course which has the following description:
Methods of constructing complex models including adding parameters to e... |
I want to sanity check some results. I've run a TY causality test following the Toda-Yamamoto (TY) procedure as described by Dave Giles in his blog post "Testing for Granger Causality". One variable is stationary at level (I(0)) and one is stationary at its first difference (I(1)). Following the TY procedure, I've cons... |
I have a raw data set describing survival in groups of individuals over time, organized as follows:
Diet Replicate N Duration Alive
A 1 4 0 4
A 2 4 0 4
A 3 4 0 4
A 4 4 0 4
B 1 4 0... |
In the book Computer Age Statistical Inference the James-Stein estimator is introduced. Brad Efron runs through an example where batting averages are estimated from each players 90 at-bats.
$$p_i\sim N(P_i,\sigma_0^2)$$
where $\sigma_0^2$ is the binomial variance
$$\sigma_0^2=\bar{p}(1-\bar{p})/90$$
Here $P_i$ is the t... |
I understand that for RNNs (of which BLSTM is one type) that the input vector is a representation of a variable in time. I have a classification problem that involves both a time-varying component which needs to be classified, and a vector of about 20 values that are static (for a given row - but vary, row to row). The... |
Consider the event of rolling a die. The sample space is $\{1,2,3,4,5,6\}$.
Let $A$ be the event of rolling an odd number, i.e $\{1,3,5\}$.
Which of the following is not empty but is independent of $A$:
$
B = \{1,2\}, \
C = \{2,4,5\}, \
D = \{2,4,6\}.
$
My answer was $D$, and in fact I think either one of the three a... |
I am wondering if it makes sense to talk about Generalized Least Squares (GLS) without assuming a distribution on the residuals, or if it comes with implicit assumptions of normality on the residuals $\epsilon$.
Explicitly I am assuming a linear model: $Y = X \beta + \epsilon$. The $Y_i$ are not assumed independent. ... |
I was hoping someone could assist me with a basic stats question. If I have $K_1$ samples of $R_1 = C_1 + n_1$, where $C_1$ is an unknown constant and $n_1\sim\mathcal{N}(0,\sigma_1^2)$. To make an accurate estimate of $C_1$ I can apply signal averaging such that $\frac{1}{K_1}\sum^{K_1}_1R_1 \approx C_1 + n_{k1}$, whe... |
I am trying to find if there's any equation that relates Correlation Coefficient between X and Y to the Correlation Coefficient between X^2 and Y^2.
Any help appreciated.
|
I am familiar with softmax regression being written by:
$$P(Y=y\mid X=x)=\frac{e^{[Wx+b]_{y}}}{\sum_{\forall i}e^{[Wx+b]_{i}}}$$
for the change of the class of $Y$ being $y$,
given observations of $X$ as being $x$.
and using subscripts to denote selecting the ith column of a matrix, and the ith element of a vector. Tha... |
I have been working on learning the optimal policy of communications for customers (which notifications to send, how many to send and when to send). I have historical data of past notifications sent (with timestamps) and their performances. Was trying to apply RL to this problem in order to learn the optimal policy. Ho... |
I'm trying to find a distribution that adequately represents the number of strokes professional golfers make on a par 3 hole, so that I can simulate outcomes from this distribution.
I have been looking at count data distributions (such as poisson and negative binomial) and also at zero truncated distributions since it... |
Logistic regression, used in binary classification, uses the logistic function as a model for the underlying probability of the outcome variable.
It has some properties useful and essential for fitting such a model. For example it is monotonically increasing, it tends to 1 as x tends to infinity, it tends to 0 as x ten... |
Task
For a game, I am currently trying to train a network that would be able to detect hands in (close to) real time from a webcam feed. What I was hoping to do is train the output network to emit high values for regions that contain hands, I will post-process that with a non-maximum suppression / mode-finding to find ... |
What is the difference between semi-supervised learning and prediction? It seems to me they're the same (both are predicting the label)
|
I'm currently looking into some data that was produced by an MC simulation I wrote - I expect the values to be normally distributed. Naturally I plotted a histogram and it looks reasonable (I guess?):
[Top left: histogram with dist.pdf(), top right: cumulative histogram with dist.cdf(), bottom: QQ-plot, data vs dist... |
I am currently solving a problem where I have to use Cosine distance as the similarity measure for k-means clustering. However, the standard k-means clustering package (from Sklearn package) uses Euclidean distance as standard, and does not allow you to change this.
Therefore it is my understanding that by normalising ... |
the practical problem is as follows:
There are several objects, say, 20 volcanos, that erupt at some point of time (event occurs).
Every volcano has it's unique distribution of 'waiting time' until next eruption (event) occurs.
Every volcano has some observations (from 15 to 60) on those waiting times until next event... |
Suppose I have two arrays A1 and A2, which I know corresponds to array A3 as follows:
A3 = a×A1+b×A2
I'm trying to find a way to optimize the parameters a and b without iterating manually through a predetermined set of a and b. I have been looking at some linear regression theory, but I'm not sure what the best approac... |
I have a set of area measurements for objects in different groups (e.g., cities), and I want to provide a visual summary of them. While Quartiles and medians are quite interpretable, I'm trying to use boxplots and I get the following plots. The first is the area measurements, and then the same values logged in base 10.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.