Questions tagged [trigonometry]

13 questions
6
votes
1 answer

What is distribution of $\sin(x)$? If x is exponential distribution

I am trying to find analytically the distribution of $\sin(x)$, If x belongs to an exponential distribution,
dtc348
  • 261
  • 2
  • 11
6
votes
1 answer

Mean and variance of $\tan(\mathcal{N}(\mu,\,\sigma^{2}))$

How could we find the mean and variance of $\tan(\theta )$ if $\theta \sim \mathcal{N}(\mu,\,\sigma^{2})$?
dtc348
  • 261
  • 2
  • 11
2
votes
0 answers

Simulation - problem of maximization inside a circle

I am doing some projects related to statistics simulation using R based on "Introduction to Scientific Programming and Simulation Using R". In the Students projects session (chapter 24), I am doing the "The pipe spiders of Brunswick" problem. At the…
1
vote
1 answer

Interpreting multiple circular-circular regression output

I'm new to circular stats and have been playing with circglmbayes and bpnreg. I'm not sure how to interpret the output. I have consulted the CrossValidated database, and the papers/tutorials associated with the mentioned packages. However, my…
frogpool
  • 11
  • 1
1
vote
0 answers

Smooth Curve Fit

I uses supsmu to fit a smooth curve to a scatter plot of data . I am quite new to curve fitting, but my graph looks somewhat sinusoidal. What would you recommend in terms of next steps to determine a predictive model for this patterns. I have tried…
1
vote
1 answer

Sine curve fit and model tunning using nls in R

I acquired data (motor adaptation =y in function of delays =t ) which I expect to look like a sine wave. I am trying (1) to fit a sine curve in my data and (2)to estimate the best model/parameters. I read several posts here here here but I am sill…
SophieB
  • 11
  • 3
1
vote
1 answer

Fourier series question I need help with

For the case of $a_n$ I am confused how my notes say we have 1 for the case n = 0. When calculating this integral for sin(nx) when n=0, we should also get zero as at x=0, sin(x) is 0. I must be missing something obvious here. Could anyone explain…
1
vote
0 answers

Non-linear regression model

Consider data consisting of pairs $(y_i, x_i)$ for $i = 1,..,n$ arising from a non-linear regression model: $y_i = \alpha + \beta\sin(\omega x_i + \delta) + \epsilon_i$ where $\epsilon_i \sim N(0,\sigma^2)$ and $\alpha, \beta, \omega, \delta,$ and…
0
votes
0 answers

How can I find the percentage accuracy between an approximation and a source formula?

Im trying to find the percentage of error for a trigonometric sine graph. I wrote an approximation of the graph, and am comparing the two up close, https://www.shadertoy.com/view/NslfRs Red represents my error, green represents the actual sine. Is…
0
votes
0 answers

Sine curve fit using nls in R

I acquired data (motor adaptation $y$ as a function of delays $t$ ) which I expect to look like a sine wave. I am trying (1) to fit a sine curve in my data and (2) to estimate the best model/parameters. I read several posts here but I am sill…
SophieB
  • 11
  • 3
0
votes
0 answers

Sine curve fit using lm, nls and nls2 in R

I acquired data (motor adaptation =y in function of delays =t ) which I expect to look like a sine wave. I am trying (1) to fit a sine curve in my data and (2)to estimate the best model/parameters. I read several posts here here here but I am sill…
SophieB
  • 11
  • 3
0
votes
0 answers

Gaussian like distribution with two tangents

I am looking to find a fitting model for the following data : P = [1.0000,0.7368,0.3421,0] phi = [0,pi/4,pi/2,pi] Which is the normalized azimutal distribution of a given physical quantity around a cylinder. Since the repartition is symmetrical…
Flof
  • 1
  • 2
0
votes
1 answer

Which trigonometric function I should use to generate the temperature with two peaks (i.e.one strong and one moderate peak)?

I want to generate seasonal temperature of Bay of Bengal. I want to do this with a trigonometric function. Seasonal temperature of Bay of Bengal has two peaks. One major peak during April and another moderate peak in November. Which trigonometric…
Ecology
  • 3
  • 1