instruction
stringlengths
9
38.7k
It seems nowadays people who work in ${\bf Statistics, \ Machine\ Learning \ and \ Operations\ research }$ all consider themselves as working in data analytics. These three categories try to solve similar problems however through different approaches. Based on my understanding the different features between statis...
I was going through this below article and was wondering how to calculate neighborhood distance for dbscan with only temperature is available. https://www.researchgate.net/publication/233919690_Anomaly_Detection_in_Temperature_Data_Using_DBSCAN_Algorithm
I have total tickets sold data from a single movie theater at a daily level. Its 2 years daily data for every single show date. I did Anderson-Darling test using ad.test() in nortest package in R and it results came significant which means this is not normal distribution as per this tutorial. Is it binomial by any chan...
How is that I get a low $R^2$ if I use $X1$ against $Y$ and $X2$ against $Y$, but a $R^2 =1$ if I use both together? How does the combination blow out the $R^2$? Could you please show me that calculation? The data: Y 12.37 12.66 12.00 11.93 11.06 13.03 13.13 11.44 12.86 10.84 11.20 11.56 ...
I want to test for a difference in means between two sets of data. The data is standardized using $(X-\mu)/\sigma$. Can I perform two-sample t-test for a difference in means? In general, since I have standardized through mean shift, which means I've set the means at 0, should I expect mean difference at all?
I have seen references to Shapley value regression elsewhere on this site, e.g.: Alternative to Shapley value regression Shapley Value Regression for prediction Shapley value regression / driver analysis with binary dependent variable What is it exactly? My guess would go along these lines. For a game where a group of...
I am new to Bayesian Statistics research. I heard from researchers that Bayesian researchers better implement MCMC by themselves rather than using tools like JAGS/Stan. May I ask what is the benefit of implementing MCMC algorithm by oneself (in a "not quite fast" languages like R), except for learning purpose?
I've got a table with 59 different values for my response variable, with different amounts of number of observations for each one of them (from 1 to 5e5, so that I observed the least frequent value once, and over 5e5 times the most frequent). This follows a normal/Gauss distribution for which I've already calculated me...
The k-means algorithm does the following: Given a set of points, we first choose k random points to be the initial centroids. We then create k clusters. The ith cluster contains the points nearest to the ith centroid. Now, we calculate the means of points in each cluster. Thus we have k means. These k means form the u...
I executed a hurdle Poisson model on test dataset that contains one y (dependent variable) and one x (independent variable). head(df) y width 8 34.4 0 22.5 3 28.34 7 32.22 The output is as shown below. Count model coefficients (truncated poisson with log link): (Intercept) width ...
I want to use deep learning in my project. I went through a couple of papers and a question occurred to me: is there any difference between convolution neural network and deep learning? Are these things the same or do they have any major differences, and which is better?
If you look at the wikipedia explanation of Metropolis adjusted Langevin Algorithm, the acceptance ratio is given by The second equation involves taking the gradient of the log of $\pi(x)$. However, the whole reason for doing MCMC is that you do not know the exact formula for $\pi(x)$, only within a multiplicative con...
I'm interested in relationships among distributions. Like 'Sum of exponential random variables is a gamma random variable. Certain conditional distribution is another distribution etc.' I searched wikipedia and google but there are just summaries of them, not specifically proved or explained. I want to know about distr...
Suppose to have a dataset containing feature vectors representing some people. Each feature vector contains mixed type of attributes (e.g. sex, age, height, hair color, favourite film, ...). For example, these could be some instances: ["Male", 28, 1.72, "brown", "star wars rebels", ...], ["Female", 33, 1.65, "b...
In a dataset with history of customer visits, I have a variable denoting 'Days since last visit'. I have done a stratified train/test split of the data. How should I assign values to this variable? Should I use only the visits from the training set to assign values (This will assign incorrect value to the 3rd visit if ...
Let's say I'm playing a game that works likes this: I have n bowls that are each filled with a different number of marbles, and I know how many marbles are in each bowl. At each round, the dealer goes to each bowl one at a time, and decides to add or remove some number of marbles from that bowl. He decides how much to ...
The default/recommended value of mtry is P/3 for regression task while it is SquareRoot(P) for a classification task. (where P is number of variables) As per my understanding the fundamental idea behind RF is using smaller subset of variables in Random Forest is to create weak & diverse classifiers and aggregating them...
I see Bayesian inference methods or probabilistic inference. I haven't really found the definition of inference yet. Talking in terms estimation of parameters is really like method specific. So, what is inference? Does it always mean to infer something from data. What are the approaches to inference.
I was trying to test for a mediation of a non-linear (cubic) relationship using the R lavaan package together with a syntax provided by some other authors doing a similar analysis. The loaded data contains index means for the 3 variables for 27 different images + high-order polynomials (2,3,4), all variables are contin...
I am currently trying to use a PCA in combination with a varimax rotation on some measurements to extract underlying factors. However, some of the variables are related, in the sense that they represent percentages or ratios of the possible outcomes. So assume I measure x{1...N},y{1...N} and z{1...N} all from the same ...
.. Hi, guys. I have a problem at the uni with homework solutions that were presented to us. I tried solving the problem, but the solutions we got back from the teacher were in a way the exact opposite of what I had... I must have a severe misunderstanding of the subject and I was hoping to receive some clarification fr...
I don't understand how to use the cross-entropy loss function and softmax activation function for multi-class classification in NNs. Say I have a 2 layer NN (1 output layer and 1 hidden layer). For the hidden-layer, I apply sigmoid function to the pre-activation from the input layer. Now, I am not sure when I feed the ...
If you train a lot of machine learning algorithms on a problem, svm, nn, rf,...via i.e. caret, and I mean a lot of it,like hundreds or thousands (not that hard,considering all parameter tuning in validation), eventually you will find one that will work. But that is data snooping. As you have trained so much models, I ...
Background: Consider a series of dependent data points, $$ y_1,y_2,y_3,\cdots,y_N. $$ In cases where the dependence is well described by an exponentially decaying auto-correlation function, it is natural to only consider every $n$-th data point for an approximately independent subsample (e.g. for MCMC), where $n$ is la...
I have used bootstrapping (percentile method) to calculate the confidence interval for the estimated mean of a set. I have now divided my data into two groups (a and b), and I want to test if the mean value in each group is different. I have considered the wilcoxon rank sum test, but would prefer a method similar to th...
I'm looking to run a linear mixed effect model using lme4, where my dependent variable one_syllable_words / total_words_generated is a proportion and my random effect (1 | participant_ID) reflects the longitudinal nature of the design. Independent, fixed effect variables of interest include age, group, timepoint, and i...
I am trying to fit a linear mixed effects model with several fixed effects and a random intercept that varies per subject. My problem is that I know that one of the fixed variables, let's call it 'A', depends on another one, 'B', which is categorical. I want to search for associations of 'A' with the response variable...
I have a large dataset with large amounts of missing data. My data involves particular cognitive tests and I would like to see how they are related to academic attainment controlling for SES and IQ. I would also like to impute missing values using multiple imputation. I have been looking at the relationship betwee...
I have a set of boolean features (n=~2k) to predict a categorical outcome. I have been using decision trees via sklearn successfully. However, for unseen data, there is a cost to assay each feature, and for this cost we obtain data across all observations. A decision tree can therefore be inefficient, as feature 1 can...
If I have a dummy variable regression output with intercept included (base category as omitted category), and I have to do a hypothesis test for difference of means between two categories other than base category, I would need to set up the standard error as $$ \mathrm{SE}(\beta_i - \beta_j) = \sqrt{\mathrm{Var}(\beta_...
My final goal is to detect anomalies (outliers) in a high dimensional space. I was planning to use PCA to reduce the dimensionality as to be able to notice such anomalies better. But then I thought about it and made a counter example how PCA could even make things worse, even though the space has less dimensions. Here'...
I have two input matrices, dt(10,3) & wt(3,3), that i need to use to find the optimal decision matrix (same dimension), Par(10,3) so as to maximize an objective function. Below R code would give some direction into the problem (used Sample inputs here) - #Input Matrices dt <- matrix(runif(300),100,3) wt <- matrix(c(1,...
I am really curious about this. From my exploring of research in Machine Learning, I've seen that the same test set is used from paper to paper. While i can understand keeping the same set for different approaches so as to make results comparable, doesn't it make it so that the approaches are eventually getting more an...
I am trying to compare two different models with cross validation and I am not sure whether I choosed an effective way to split my dataset into equal sized partitions. My data frame is called anne and I tried this before the loop: anne<-anne[sample(nrow(anne)),] my_folds<- cut(seq(1,nrow(anne)),breaks=10,labels=FALSE)...
Let's assume that we have a random variable $X$ that takes integer values from the range $[0, b]$, the left boundary $b$ is not precisely defined, but on practice $b<10,000$. x <- c(rep(7, 2), rep(9, 163), rep(11,231), rep(13,343), rep(15, 211),rep(17, 159),rep(19, 27)) I need to estimate a probability $Pr(X<a)$, wh...
I am doing time series forecasting in R using the VAR model implementation in the "vars" package. I have a default of six lags for my model, and my time series all have 120+ observations. I'm doing a method of testing different combinations of series and back-testing them using VAR in order to decide which set of vari...
Let's consider a trained Restricted Boltzmann Machine model. It was trained to maximize P(v). Since it's a generative model, how can I get a probability of an input vector which it is supposed to model? I know for a fact that I can determine one using the following equation, but it is the same as in Boltzmann Machines....
I have a continuous outcome that I need to assume is right-censored, so I'm looking for a way to fit a tobit regression model, however, my data are from family pedigrees so I also have to account for non-independence of my observations in some way (say with a random effects term). Can anyone think of a way to achieve t...
I am new to regression and am working through some exercises. I am trying to predict the dependent variable based off a time series of independent variables, which I believe are correlated. date dependent independent january 0.655 15.0470029 february 0.911 15.27434021 march 1.15 15.466...
I used the rugarch package of R v.3.2.5 to fit a hybrid ARMA(1,0)+EGARCH(2,1) model to a series of log-returns on an exchange rate. My question is: How should I compute the following measures to describe the conditional variance dynamics of the above hybrid model? Duration of persistence, ARCH and GARCH effects, Leve...
Before the realizations of the random variables $X_1,\dots,X_n$ become known, their sample mean can be regarded as a random variable. This statement confuses me. Can you give me an example?
I am constructing confidence interval based on Wald, likelihood ratio and jackknife for the parameters of a model via simulation. To evaluate which methods is preferable for the parameters, I did a coverage probability study for moderate and large samples. My issue is, I could not find the rule of thumb that how many r...
I have collected data from five consecutive fishing seasons (five factor levels). Each fishing season has five months within (five factor levels). Considering that I have a temporal correlation in my data (fishing season>> month), I thought it was a good idea to implement GLMM. I am attempting to fit a mixed effects mo...
My daughter took a test and made a 266. The max possible score was 300. The mean was 242 with a standard deviation of 17. I don't know how many scores are included, if it matters, but more than 1,000. What can be determined about her class ranking based on this info? Thanks!!
For testing purposes I made up some correlated data in R like this: mydata = data.frame( outcome = c(1, 0, 1, 0, 0, 1, 1, 0, 1, 1), predictor = c(0.1, -0.2, 0, 0.1, -0.3, 0.3, 0.2, -0.1, 0.1, 0.1) ) Then I did this in order to create a logistic model that modeled this data: model1 = glm(family = binomial, formul...
I want to make a diagram like this to display the career spans of several soccer players one below the next: I know it's basically a bar chart, but I was hoping this has a more specific name, because I want to search the web to find out whether d3.js can easily render one that is suitable for this specific kind of usa...
I am trying to calculate the Pearson correlation coefficient according this formula over a large dataset: $$r = \frac{n\left(\Sigma xy\right)-\left(\Sigma x\right)\left(\Sigma y\right)}{\sqrt{\left[n\Sigma x^2 - \left(x\right)^2\right]\left[n\Sigma y^2 - \left(y\right)^2\right]}}$$ Mostly, my values are between $-1$ an...
Except decision trees and logistic regression, what other classification models provide good interpretation? I am not interested in the accuracy or other parameters, only the interpretation of the results is important.
I've built a survival model, and I want to examine pairwise comparisons between my treatment groups. I have an advertising data set where I am modeling a conversion event(Purchase = 1, No Purchase = 0), using number of impressions as my time variable and adgroup(with 5 levels - control, seg1, seg2, seg3, and seg,4) as ...
I am trying to apply bootstrapping on several regression models to obtain SEs of parameters. My question is about preparing the bootstrapping samples in proper manner. The data I am working on are about concentration of certain contaminant in fish body ($C$, continuous). The data are secondary sampling data and compil...
I am trying to use lmer function from lme4 package to estimate differences between two response curves from a control and treatment responses over time, leaving Subjects as random effect. Here the data: > df Day Subject Levels Response 1 10 A001 Control 0.19672131 2 10 A002 Treatment 0.16830515 3 ...
I am trying to build a model predicting a binary outcome, say screened vs. non-screened. A little bit about the data I have about 40K records. 86% of them have the outcome as screened. It's a very unbalanced data. And I have about 18 predictors. Most of them have a weak correlation with the outcome. The goal here is t...
I'm hoping someone can shed some light on the discrepancy between the p-values obtained from two different functions in R for conducting a spearman's test. The two tests produce the same p-values in some circumstances but not others. I think I've identified what those circumstances are. When there are repeated values i...
While reading the paper of Network in Network, I feel confusing about some points. The following figure shows the network architecture, looks like to me the two layers with red circle are just fully connected layer. Is that right? Also, the authors make the following statement. But which layer is cross channel parame...
Let's say I am using age group as a factor in a linear regression model with some response variable, fitting the model with under-20s as the baseline category. If there are any significant effects for older age categories when compared with under-20s, I can see this easily through a coefficient whose 95% confidence int...
I have been reading a pile of papers on convolutional networks and reinforcement learning. I remember seeing an important paper with a non-rectangular shape of the convolution layer (the green shape in this silly drawing). But now I cannot find it. It might have been something similar to the AlphaGo paper or reinfor...
ADF test supposed to remove the all the structural effects (autocorrelation) in the time series and then tests using the same procedure as DF test. Could anybody explain in simple terms what is the difference between those two tests?
tldr: This question summarizes mine in a more concise way I am struggling with this seemingly trivial question that goes as followed: The data are time points at which 50% of my yeast culture has died (a chronological lifespan experiment). I have: 4 time points for a wildtype (control) yeast strain in standard growth ...
I have count data which I'm trying to model using a state-space model where $z_t \sim Poisson(exp\{F^\prime\ x_t\})$ $x_t \sim N(G\ x_{t-1}, R)$ Where $z_t$ are the observations and $x_t$ the underlying hidden state. $F$ and $G$ are simply structure matrices, and could be considered $F=G=1$ to simplify and $R$ is a kno...
I am trying to look for the upper and lower limits of my time series data, and follow the instructions from statsmodels to use the VAR(p) Below is my code model = tsa.VAR(data) results = model.fit(maxlags=13, ic='aic') results.forecast_interval(results.y, steps=2) Below is results from the third line of code above (I ...
I am trying to understand how to quantify the relationship between variables and their principal components, e.g. PC1, and that lead me to consider the information contained in the loadings of each variable for PC1. If the variables are normalized prior to running the PCA, it seems fair to me (am I wrong?) to assume th...
Long story short, I have been reading some stuff on neural networks recently, and realized that the MLP algorithm depends on a parameter $\alpha(t)$ which is the learning rate. Does $\alpha(t)$ have a general functional form? I'm wondering about this because some of the texts write $\alpha$ as $\alpha(t)$, while others...
The experiment has the following setup, People will go through a set of documents of different difficulty. The difficulty of these documents varies from on person to an other, and the documents are not always the same. At the end of the experiment, they will need to go through a post-task and from there we will measur...
I'm training a markov model where the transition probabilities are predicted by another model. Is there a term for this type of markov model? Below we have a markov model with two nodes: O - > O -> o The transition probability is defined by an external model f(node1, node2) = p. Is this is done often? I found tha...
I want to study the relation between prevalence of high-status members of the holders of a family name in the past and the status of current holders of the same family name (I don't assume any direct ancestral lineage. I'm interested in the predictive power of a family name in current social status, given an approximat...
This is less a statistics question and more a how to share statistics with the public question. I am presenting results of a community health survey at a series of community meetings in an area where the average educational attainment is about 10th grade. At my last meeting, someone in the audience said, "Hang on! Only...
I have code below that builds a linear model for a set of data: x = rnorm(100,5,1) b = 0.5 e = rnorm(100,0,3) beta_0= 2.5 beta_1= 0.5 y = beta_0 + beta_1*x + e plot(x,y) m1 = lm(y~x) abline(m1) summary(m1) When I run this block of code multiple times, the p-value can vary from 0.05 to around ~-0.7. So my question is w...
Sort of a methodological question: If one has an exogenous binary treatment and a continuous outcome variable Y and wants to estimate quantile treatment effects by exploiting a (sharp) discontinuity in the treatment, what is the advantage of using non-parametric quantile RDD (specifically this: http://www.sciencedirect...
Namely, what is the calculation for determining the unstandardized (metric) intercept? In my situation, all of the variables were standardized including the independent variable. Therefore the formulas given in this post do not apply: How to convert standardized coefficients to unstandardized coefficients? Rather the f...
I apologize in advance for any errors in terminology. Please let me know if you require further information. I have time-series data in which a probe measures the concentration of oxygen in solution, over time. The probe also measures the temperature of the solution at each time point. In this case, oxygen is being pro...
I have an x-y domain where I know the snow depth everywhere. (i.e. the granularity of the values is such that I can assume I know it everywhere). I want to use this information to inform where to place sensor nodes for the most informative sensing. I have 10 sensor nodes that I want to place across this domain. I ...
I have a sample dataset with about a million records with about 7 feature variables. On running logistic regression on this dataset, I got 5 features with a positive coefficient and 2 with a negative coefficient. Now I need to extrapolate this data to about 50 times and add a couple of feature variables to the set. Ho...
I am studying the linear mixed model $y=X\beta + Z\gamma + \epsilon$ where $\beta$ is a vector of fixed effects, and it seems that $\gamma$ is usually specified as $\gamma \sim N(0,I\sigma^2)$. My question is why does $\gamma$ have a mean of zero? If I specify $\gamma \sim N(\alpha,I\sigma^2)$, where $\alpha$ is a vect...
I want to test the relationship between categorical variables - fire severity (very low, low, moderate, and high) and cold-air pool (no, maybe, yes). My question is, Does cold-air pool status influence fire severity? However, both variables are spatially auto-correlated. Fire severity is spatial auto-correlation beneat...
I am a beginner in machine learning. I can do programming fine but the theory confuses me a lot of the times. What is the relation between Maximum Likelihood Estimation (MLE), Maximum A posteriori (MAP) estimate, and Expectation-Maximization (EM) algorithm? I see them used as the methods that actually do the optimizati...
I would like to retrive the parameters of BasicLSTMCell, and to initialize an object with given parameters with python. I already looked to Tensorflow Github and BasicLSTMCell guide, but I'm not able to understand how to do it.
I'm struggling with understanding confidence intervals and the common fallacies that I'm obviously not alone in doing. For example, why can't I say that I'm 95% confidence that the true value lies within my 95% confidence interval if I've made a measurement with a device that has a normal distributed error with known s...
For conditional probability $P(D_1, D_2|W)$, suppose $D_1$ and $D_2$ are dependent (I mean not i.i.d.), then I am a bit confused whether $$P(D_1, D_2|W) = P(D_1|W) \ P (D_2|W)$$ or $$P(D_1, D_2|W) = P(D_1|W) \ P (D_2|W, D_1)$$ From Bayes theorem, the latter one is correct, but from logical thinking, I cannot tell what ...
Consider the linear model $$Y=\rho W Y+ X\beta +\epsilon.$$ where $W$ is the weight matrix, $\rho$ is spatial auto regressive parameter. One can see the above model as, $$(I-\rho W) Y= X\beta +\epsilon.$$ Hereby, using Maximum likelihood estimation, I could find the estimator of $\beta$ as $$\hat\beta=(X^T X)^{-1} X^...
I am performing a binary classification task where the outcome probability is fair low (around 3 per cent). I am trying to decide whether to optimize by AUC or log-loss. As much as I have understood, AUC maximizes the model's ability to discriminate between classes whilst the logloss penalizes the divergency between ac...
We know that variance can be written $\sigma^2 = \frac{\sum_{i=1}^n (x-\mu_x)^2}{n}$ or $\sigma^2 = \sum_{i=1}^2 (x_i - \mu_x)^2 p_i$ where $p$ is the probability density function. 1. Is there any intuitive explanation for this? 2. Does this mean that skewness and kurtosis can be written as following: We know kurtosis...
I apologies if this post seems very basic but I have no background in statistics. I have data which represents how a value Y varies based on variables X1,X2 and X3. The model was ran using as input 3 values for each X (max, min, and modal). All the possible combinations where modelled. I now have a bunch of data (minus...
I am training a deep net with greedy layer-wise pre-training (as in the algorithm in Bengio's "Practical Recommendations"). At some point, I have to keep only a few top candidate networks according to their performance in the classification task. Bengio suggests to rank the networks using a simple linear classifier (in...
I have the state - transition data with multiple sequences of unequal lengths, each sequence corresponding to one subject/person: head(prob_tbl2) period1 period2 period3 period4 period5 period6 period7 period8 1 <NA> active active active active active active active 2 active active active active activ...
To give some context, we are working on predicting Y for every auto insurance claim. The point is that if Y is predicted to be 1 for a claim, then this claim has to be assigned to a particular team (T-1), which has people with some special expertise. For each day delay in this assignment, there is an extra cost associa...
When running a regression, statistical significance of an effect is important but its magnitude is even more important. How should I evaluate the size of an effect? I've read that usually in Econometrics, the standard error is used as a benchmark but how? This is an example of a regression table I've to analyze (Miguel...
This is my scenario: I'm testing two length measuring devices. I'm measuring a model that has notches at different lengths in order to collect 15 different measurements. I know the "real" value for each distance in order to calculate 15 "errors" for each device. The same 15 measurements are repeated ten times for each ...
I'm a french psychologist (so, not a statistician :-)) I have just submit an article and the reviewers respond us: One should report power, which directly indexes the probability of making a Type II error. Why? Because some of your conclusions are based on not obtaining a significant interaction, you want to ensure t...
Currently I am using auto-encoders for some classification task. And I am using Matlab (Code). It seems to me that there are many parameters need to be tuned during training. For example, Maximum number of training epochs or iterations. The coefficient for the L2 weight regularizer in the cost function. Coefficient th...
I need to perform feature selection over a high dimensional dataset, this is p >> N, and later perform a classification using a 2-class response. Which of this 2 options is correct? Assuming I initially split my data into training an test sets: Perform FS over the training data and with the same training data with the...
I have a problem where I predict different dependent variables from the same data set. Now I want to evaluate, how well each of the dependent variables can be predicted using a regression method. The dependent variables have different scales and units. Therefore, something like mean squared error won't help here. What ...
What is meant by cutoff value or threshold value ? how will you explain the ROC curve with respect to fpr and tpr.
My data consists of quantity of vehicles sold and the date on which it was sold. It shows an increase at the month ends, ie; on 30th and 31st of the month ends. Data is of 6 month date wise. Since i have only variable "quantity sold" and i want to predict the future sales, i thought of going with univariate time series...
Suppose we have 3 vars: v1, v2, v3 and 2 PCs: PC1, PC2. PC1 has a contribution of 0.8 and PC2 has the same of 0.2. In the principal coefficient matrix, we have the significance of each var for each PC. Let's say we get: PC1 -> (v1: 0.46, v2: 0.02, v3: 0.51) and PC2 -> (v1: 0.2, v2: -0.12, v3: 0.3). Can we say that v2 i...
I have data from a study in which male and female doctors each read 6 vignettes describing patient situations. The vignettes vary the age of the patient and also the level of pain the patient is in. Each doctor reads the same 6 vignettes, and then makes a decision about whether to proceed with surgery or not. Here is t...
I have a dataset with a dependent and an independent variable. Both are not a time series. I have 120 observations. The correlation coefficient is 0.43 After this calculation, I have added a column for both variables with the average for every 12 observations, resulting in 2 new columns with 108 observations (pairs). T...
I am creating a component that aims to calculate the average and variance of a metric associated with events happening during time but with a limited internal memory. Imagine that the events are visitors entering in a shop and the metric is their age. During time, my component receives events with the age of each visit...
Consider this (R) data: nd1 <- rnorm(100) nd2 <- rnorm(100) pd1 <- rpois(100, 2) pd2 <- rpois(100, 2) I want to define two functions - f1 and f2: f1 <- function(vec) {...} f2 <- function(vec1, vec2) {...} f1 should return a list of pairs: standard dist name, similarity value. For example: # returns f1(nd1) normal ...
I have got this formula for spherical distance i.e. istance of the shortest path along the surface of the sphere on the wolfram alpha site:- http://mathworld.wolfram.com/SphericalDistance.html But is there any reference or standard textbook where I can get this?
I have a real world problem. We run a business where we measure our success in number of payments monthly. We use Google Analytics which missing around 5-7% of our payments. So for example, one month we got 947 payments, but Google Analytics tracked 911. Now, trying to grow the business, we A/B test parts of our web si...