Questions tagged [geometry]

For on-topic questions involving geometry. For purely mathematical question about geometry it is better to ask on the math SE site

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

Understanding relation between axis of least and maximum second moment

I was going through computer vision lecture video. You can find the pdf of this lecture here. I was trying to understand how orientation of object corresponds to axis of least second moment aka ...
Mahesha999's user avatar
0 votes
0 answers
15 views

Geometric interpretation of random effects design matrix

A fixed effects (FE) linear model can be understood in a precise way using concepts of geometry. Namely, the response vector in model space is projected onto the design subspace surface described by ...
Chris Science's user avatar
0 votes
1 answer
40 views

Describe a geometrical shape as a piecewise function

Consider a cube filled with random particles. Let's say the particles in cube are rotated around the z-axis through the center of the cube. Here, the rotation is proportional to the height of the cube,...
Sami's user avatar
  • 113
1 vote
0 answers
24 views

Is it possible to uniformly draw points over a $D-1$ dimensional disk, given that one has an algorithm to draw over the $D$ dimensional sphere?

Suppose I have the following scenario: And I am aware of an algorithm to draw uniformly from (in this case) the 2-sphere. Does this same algorithm readily extend to the situation where I randomly ...
tisPrimeTime's user avatar
3 votes
0 answers
59 views

Geometric intuition for how ridge ($L_2$) regularization helps under multicollinearity

We have some nice posts (1, 2 and likely more) illustrating multicollinearity geometrically. Now, ridge regression ($L_2$ regularization) is known to be a remedy of multicollinearity. What is the ...
Richard Hardy's user avatar
0 votes
0 answers
42 views

Estimation of MLE - request for clarification

I am refering to an earlier post in Maximum Likelihood estimate of cell radius from observed cross section radii I am not sure if I understood this question. What exactly is the meaning of ...
Brian19931's user avatar
1 vote
1 answer
31 views

Automatic selection of nuber or factors in PCA based on the Cattells scree plot in R

I would like to automatically select the number of factors after factor analysis (PCA). I mean the graphical selection method according to the Cattel criterion, which determines where the steepness of ...
kwadratens's user avatar
0 votes
0 answers
14 views

Penalize an attribute of points based on their distance from a line without use of any threshold

We have a set of points and a line. Each point in the set has a weight attribute that is an integer. How we could penalize this weight based on the distance of the point from the line without using ...
mrjamaisvu's user avatar
0 votes
0 answers
148 views

Estimate weights given a weighted geometric median

Problem 1 Given a set of points and their weighted geometric median, find the weights associated with each point. For instance, given the points ...
npetrov937's user avatar
2 votes
0 answers
33 views

Using Machine Learning to Create Periodic Paths

Question: How can I use Machine Learning to predict the right initial conditions $(P_0,V_0)$, given the angles of the triangular table, that will result in periodic paths in the triangular billiard ...
rb3652's user avatar
  • 141
1 vote
1 answer
38 views

Need help interpreting an answer about the Cauchy distribution and Huygens principle

I'm trying to understand the answer here, which provides a physical interpretation for why the Cauchy distributions mean doesn't exist makes the following statement: If a unit light source is located ...
ryu576's user avatar
  • 2,520
0 votes
0 answers
74 views

Does the existence of gradient in any function necessarily imply the existence of a subgradient at that point?

First , I apologize if the question is not supposed to be here, or if it is off topic for the subjects dealt with in here. I was reading on subgradients, with respect to convex functions in the ...
noobcoder's user avatar
  • 313
2 votes
1 answer
183 views

What optimization algorithms are best at traversing complicated geometries, and what trade-offs exist between different algorithms?

Hi all :] so short version is just the title, and specifically as pertains to those algorithms included in R's optimx::optimx() under ...
Nikolai Gates Vetr's user avatar
2 votes
0 answers
85 views

how to determine the equation of a hyperplane (W and b) using only support vectors points without a Lagrange multiplier?

In n-dimensional, assuming I have support vectors points (number of sv < n), can I find the hyperplan equation (w and b) that separates 2 sets of data using only support vectors points without a ...
amr zaki's user avatar
3 votes
1 answer
87 views

How is the set of probability distributions on $m$ values an $m-1$-dimensional simplex? [duplicate]

In Zuk et al. 2012, they claim: The set of probability distributions on $m$ values is the $m-1$-dimensional simplex denoted $S_m$. Probability distribution functions are familiar to me. I understand ...
Galen's user avatar
  • 6,998
0 votes
0 answers
140 views

Calculating covariance matrix from given vertices of triangles

I am given 3D vertices of triangles and I want to build the covariance matrix from it. These vertices are pure geometric vertices no noise. I can easily get it from libraries of python but I wanted to ...
Paritosh Kulkarni's user avatar
1 vote
1 answer
72 views

Why does my simulation of nearest neighbors as circle origins provide different non-contact probability compared to theoretical?

I am simulating spatially distributed points in $\mathbb{R}^2$ with intensity $\lambda$ (units 1/area), which act as circle origins with radii being a random variable $R_k$. Given the distance to the $...
Joona Vaara's user avatar
76 votes
1 answer
4k views

Impractical question: is it possible to find the regression line using a ruler and compass?

The ancient greeks famously sought to construct geometrical relationships using only a ruler and a compass. Given a set of points in a two dimensional plane, is it possible to find the OLS line using ...
Pablo Derbez's user avatar
1 vote
0 answers
125 views

How to find the average distance between randomly distributed points in a rectangle?

Assume there are n points randomly distributed in a rectangle (x being the height y being the width) shown below in the figure. I would like to calculate the average distance between 2 random red ...
Yun Hyunsoo's user avatar
1 vote
0 answers
18 views

Geometric properties of independence between random variables [closed]

Suppose $Y$ and $X$ are two independent random variables. Are there any geometrical properties (of PDF/CDF/PMF/etc.) that capture this independence? I know that the Support has to be rectangular and ...
Maverick Meerkat's user avatar
5 votes
2 answers
73 views

Does the distribution $f(x) \propto (1-x^2)^{n/2}$ have a name?

The distribution $f(x) \propto (1-x^2)^{n/2}$ for $-1 \leq x \leq 1$ It occurs in a problem like Law of the norm of the empirical mean of uniforms on the sphere? It relates to intersections of high ...
Sextus Empiricus's user avatar
1 vote
0 answers
32 views

Calculating the mean or median "whereabout" of a joystick

I have recently collected data using the NASA TLX tool, which includes a tracking task, where subjects have to keep the joystick deadcenter while having to react to multiple tasks. The raw data looks ...
Alex's user avatar
  • 11
1 vote
0 answers
102 views

Finding a Projection Plane in Dimensionality Reduction (e.g., Multidimensional Scaling)

I have a set of data points in high-dimensional space that I wish to map onto a lower dimension (3D or 2D). Question : How do I obtain the Projection (Hyper)Plane (e.g., its normal vector or its set ...
Miss Swiss's user avatar
2 votes
1 answer
1k views

How to find the weighted midpoint between n-points?

I was hoping if someone could guide me to the right algorithm to find the weighted midpoint of n-points. The photo attached below perfectly describes my problem. Let's just say we have three points ...
Ryan Darling's user avatar
2 votes
1 answer
139 views

Non-Euclidean analogue to MSE loss

The most basic machine learning model called OLS uses the RSS (squared loss) or its average, mean squared error (MSE), for its loss function, which is aligned with Euclidean geometry. What is the ...
develarist's user avatar
  • 3,481
6 votes
1 answer
254 views

Why do we need to triangulate a convex polygon in order to sample uniformly from it?

Suppose I want to uniformly sample points inside a convex polygon. One of the most common approaches described here and on the internet in general consists in triangulation of the polygon and generate ...
Xav59130's user avatar
1 vote
0 answers
211 views

What are the principal components of a set of points lying on a circle? [closed]

So if there are a set of points lying on a circle (2 dimensional), what will be the principal components given that the variance of points vary equally along any 2 perpendicular directions
Ad94's user avatar
  • 85
4 votes
0 answers
38 views

How to do statistics on different geometries?

The original motivation: Let's say, we have two particles, doing random one motion on an infinite 1-D lattice $\mathbb{Z}$, and we are interested in the autocorrelation of the trajectory of each ...
Our's user avatar
  • 227
5 votes
1 answer
63 views

Expectation of differences between arcs on a circle

Consider a circle with a circumference of $n$. On this circle, I define two arcs of length $k<n$, $A_1$ and $A_2$. The centres of the two arcs are uniformly distributed on the circle. Let $\Omega_{...
Marius Zoican's user avatar
1 vote
0 answers
117 views

PCA on polar coordinates (0°-360°)

I have a data set where one of the variables is in polar coordinates ($\varphi$ = 0° to 360° degrees) and PCA was applied in order to reduce dimensions. As far as I know, using PCA on polar ...
knytt's user avatar
  • 111
12 votes
2 answers
3k views

What is the geometric relationship between the covariance matrix and the inverse of the covariance matrix?

The covariance matrix represents the dispersion of data points while the inverse of the covariance matrix represents the tightness of data points. How is the dispersion and tightness related ...
Ralff's user avatar
  • 203
0 votes
1 answer
45 views

graph convolution network

I am trying to understand papers and lectures on graph convolution networks but whenever I open some paper, I get lost on the very first page. I started with some videos like this and this and papers ...
Sarvagya Gupta's user avatar
2 votes
0 answers
137 views

Approximate the mean area of 2D Voronoi cell

Consider a random uniform distribution of $N$ points in $2D$ space bounded by $[0, 1]$ in both dimensions. Example: If I want to estimate the mean area of their Voronoi cells, I have to obtain the ...
Gabriel's user avatar
  • 3,572
4 votes
2 answers
102 views

Understanding sufficient statistics geometrically

Consider the distribution $\mathcal{P} = \mathcal{N}(\mu, 1)$, where the variance is known but the mean is unknown. Let $X_1,X_2\sim P$ i.i.d. In this case $T = X_1+X_2$ is a sufficient statistic. I ...
elexhobby's user avatar
  • 825
4 votes
0 answers
280 views

Geometric interpretation of the difference between the means (ANOVA)

First of all, a disclosure: I'm a medical doctor trying to understand statistics for research. Coming from a non-mathematical background I can do many mistakes. I've read some traditional books of ...
Alessandro Giannini's user avatar
0 votes
0 answers
269 views

Bivariate normal probability of being inside ellipse

Assume that $\mathbf{X}$ is a bivariate normal random variable $$\mathbf{\mu} = E\mathbf{X} = \begin{bmatrix} 0 \\ 2 \end{bmatrix} \ \text{and} \ \Sigma = Cov \ \mathbf{X} = \begin{bmatrix} 3 & 1 ...
Pame's user avatar
  • 321
2 votes
0 answers
64 views

Inverse sampling a direction over the hemisphere of a surface?

Let $S^2:=\{x\in\mathbb R^3:|x|=1\}$ denote the unit 2-sphere, $$\omega_{x\to y}:=\frac{y-x}{|y-x|}\;\;\;\text{for }x,y\in\mathbb R^3\text{ with }x\ne y,$$ $M\subseteq\mathbb{R}^3$ be the disjoint ...
0xbadf00d's user avatar
6 votes
2 answers
673 views

Expected triangle area from normal distribution

3 points are randomly selected from a multinormal distribution $\mathcal{N}(\vec{0},\Sigma)$ in $\mathbb{R^3}$ with $\Sigma=\begin{pmatrix}\sigma^2&0 &0 \\0&\sigma^2&0\\0&0&\...
user269684's user avatar
1 vote
1 answer
10 views

Intervals from an underdetermined nonnegative linear system

I'm working on a problem in genomics that yields the following puzzle. Let $b\in \mathbb R^I$, $t$ and $p\in \mathbb R^J$, and $s \in \mathbb R^{I\times J}$. Suppose $t,b,p$ are known. Further suppose:...
eric_kernfeld's user avatar
2 votes
1 answer
834 views

How do I interpret the angles of two concentration ellipses?

Consider a map with two concentration ellipses like this below. The Vomit_y group is (almost?) perfectly vertical, while the Vomit_n group seems to be oriented at about 45 degrees. I understand that ...
Brett Reynolds's user avatar
4 votes
2 answers
266 views

Poisson process on an $n$-sphere

I have an algorithm that embeds data points into Euclidean space. If I norm these points then they will lie on the unit $n$-sphere, where $n+1$ is the dimensionality of the embedding space (generally ...
duncster94's user avatar
4 votes
1 answer
4k views

what means to be outside unit circle?

I am trying to study time series without a great math background and I came across the next problem: When checking for stationarity I check the roots, and if they are not on the unit circle, then it ...
Chicago1988's user avatar
2 votes
1 answer
679 views

What is the probability that you can form a triangle with these three line segments?

Two numbers are randomly selected between $(0,1)$, uniformly and independently distributed. What is the probability that the three resulting line segments, which are obtained by cutting the interval ...
Ron Snow's user avatar
  • 1,819
2 votes
1 answer
94 views

How to generate data such that an equation needs to hold?

Can I create or generate $\{y_i\}_{i=1}^{4}$ data set such that this equation holds $$ \sum_{i=1}^{4}\sum_{j=1}^{4}m_{ij}y_{i}y_{j}=6 $$ where $$ m=\left[ \begin{array}{cccc} 13 & 12 & 3 &...
Anonymous's user avatar
  • 343
1 vote
1 answer
79 views

D-optimal DOE suggest repeated samples

I tried to generate a D optimal design but the design output sounds very weird to me. I have a (real) process and I`d like to explore 3 factors, but the process have a lot of constraints so I provide ...
Rodrigo PG's user avatar
0 votes
0 answers
103 views

Sampling from/near boundary of a region in R^n

Suppose $\Omega$ is a region in $\mathbb R^n$, and suppose we are given a function $\chi(x)$ with $\chi(x)=1$ if $x\in \Omega$ and $\chi(x)=0$ otherwise. If it helps we can assume $\Omega\subseteq B$ ...
Justin Solomon's user avatar
2 votes
0 answers
82 views

Boundary point errors in PCA projection using sklearn

I am preparing a small example of a projection using python, numpy and sklearn to perform <...
Luis's user avatar
  • 473
4 votes
0 answers
444 views

Geometric interpretation of Cholesky Decomposition

I understand that a square matrix, say $A$, can be thought of as a linear transformation within the same space. I could be as simple as basis change or some other transformation. In this way of ...
Dayne's user avatar
  • 2,361
1 vote
0 answers
38 views

Is there a geometric interpretation for the surprising result of $E[x(y-\mu_y)] = COV(x,y)$?

I was playing around with non-central second moments, and noticed that $E[x(y-\mu_y)] = E[(x-\mu_x + \mu_x)(y-\mu_y)] = COV[x,y] + E[\mu_x(y-\mu_y) = COV[x,y] + 0$. I find this very surprising. It ...
user49404's user avatar
  • 457
4 votes
1 answer
256 views

Bounding data by two parallel lines with minimum distance between them

I have a set of data samples that approximately follow a straight line in 2D. I need to find two parallel lines that are spaced as close as possible such that all of the samples lie between the lines. ...
Jim's user avatar
  • 143