Best visualization coloring

Problem Consider the following color palettes. Which one is more appropriate for effective visualization communications with humans?

Regression: Predicting the global land temperature of the Earth in 2050 from the past data via the maximum likelihood approach

Problem Consider this dataset, usaTemperatureHistory.txt, which contains the global land temperature of the earth from 1743 to 2013 at every monthly resolution. As stated in the file, temperatures are in Celsius and reported as anomalies relative to the average global...

Regression: Predicting the global land temperature of the Earth in 2050 from the past data: linear vs. exponential temperature increase

Problem Consider this dataset, 1880_2020.csv, which contains the global land and ocean temperature anomalies of the earth from January 1880 to June 2020 at every month. As stated in the file, temperatures are in Degrees Celsius and reported as anomalies...

The different faces of binned data via different transformations

Problem Consider this CSV dataset containing the durations of a set of astrophysical events (T50 and T90), their corresponding 1-sigma uncertainties (T590err, T90err), the event IDs (Trigger) and the starting time of the events (T90Start) with respect to some reference...

Coordinates transformation for better visualization

Problem Consider the following plot. Explain the types of $x-$ and $y-$ axes of this plot. What type of mathematical function would best describe the initial (seemingly linear) phases of the three blue, yellow, and red curves in this plot?...

Projectile motion implementation through OOP multiple inheritance

Problem Consider the problem of projectile motion in purely vertical direction that we solved in class. Here is the class we defined for the projectile, class ProjLocY(): def __init__(self, velInitY, g = 9.8): self.velInitY = velInitY # initial velocity along...

Parabola as a subclass of line

Problem Recall the equation for a line is given by $f(x) = c_0 + c_1 x$ where $c_0$ and $c_1$ are the constants of the equation (intercept and slope, respectively). Write a class whose constructor takes two arguments (c0, c1)...

Implementing an integration problem via an integrand object

Problem Integration by midpoint rule: The idea of the Midpoint rule for integration is to divide the area under a curve $f(x)$ into $n$ equal-sized rectangles. The height of the rectangle is determined by the value of $f$ at the...

Making and using multiple Dynamic-Link Libraries (DLL) from within a single executable using the Intel Fortran Compiler on Windows OS

Consider the following set of Fortran module files: Constants_mod.f90, JaggedArray_mod.f90, String_mod.f90, Math_mod.f90. (These files are actually part of the ParaMonte library). These modules depend on each other: Math_mod uses Constants_mod and String_mod, String_mod uses Constants_mod and JaggedArray_mod, JaggedArray_mod uses Constants_mod,...

Regression: obtaining the most likely mean of a set of Standard Normally Distributed Random Variables

Problem Consider this dataset, Drand.mat, which contains a set of random numbers. Write a sctipt that computes the mean of this sample via the Least-Sum-of-Squares method. For this, you will need to use a funtion minimizer in the language of...

Regression: obtaining the most likely mean of a set of Standard Normally Distributed Random Variables via the least absolute deviations method

Problem Consider this dataset, Drand.mat, which contains a set of random numbers. Write a sctipt that computes the mean of this sample via the Least-Sum-of-Squares method. For this, you will need to use a funtion minimizer in the language of...

Regression: obtaining the most likely mean of a set of Standard Normally Distributed Random Variables via the least absolute deviations method

Problem Consider this dataset, Drand.mat, which contains a set of random numbers. Write a sctipt that computes the mean of this sample via the Least-Sum-of-Squares method. For this, you will need to use a funtion minimizer in the language of...

Monte Carlo sampling of the sum of two Gaussian distributions

Problem Suppose that you wanted to generate points whose distribution follows the blue curve in the following curve, whose mathematical formulation is known (in the case here, the function is just the sum of two Gaussian distributions), The equation describing...

Kmeans clustering

Problem Consider this dataset points.txt. Write a script that reads this dataset and plots the second column of the dataset versus the first column as the following, Now write another script that applies Kmeans clustering technique to this data set...

Regression: Predicting the global land temperature of the Earth in 2050 from the past data

Problem Consider this dataset, usaTemperatureHistory.txt, which contains the global land temperature of the earth from 1743 to 2013 at every monthly resolution. As stated in the file, temperatures are in Celsius and reported as anomalies relative to the average global...

Understanding the Central Limit Theorem via random walk

In probability theory, the central limit theorem (CLT) establishes that, when independent random variables are added together, their properly normalized sum tends toward a normal distribution (informally a “bell curve”) even if the original variables themselves are not normally distributed....

Finding the maximum value of an array via recursive function calls

Problem Write a recursive Python function findMaxVal() that takes an input list of numbers and returns the maximum value stored the list. Do not use any max() function from any Python package. Your code should only contain if blocks and...

Finding the position of the maximum value of an array via recursive function calls

Problem Write a recursive Python function findMaxValMaxLoc() that takes an input list of numbers and returns, as a tuple, both the maximum value and the position (index) of maximum value in the input list. Your function should return None if...

Making and using a Dynamic-Link Library (DLL) from a Fortran procedure using Intel Fortran Compiler on Windows OS: getSquare()

Consider the following example Fortran function contained in Fortran module Square_mod which takes an input real number of type real64 and returns its square as output, module Square_mod implicit none contains function getSquare(val) result(valSquared) use, intrinsic :: iso_fortran_env, only: RK...