Bitmap is an object used to work with images defined by pixel data. You can create images using one of the Bitmap constructors. Images are drawn on the screen or in memory using the DrawImage method of the Graphics object. The Graphics class provides methods for drawing objects on the display device. PublicContinue reading “How to define and use a bitmap and graphics object and animated display of image in a picture box using a timer”
Category Archives: Uncategorized
Most useful conditional structures
The If…Then statement examines the truthfulness of an expression. Structurally, its formula is: If ConditionToCheck Then Statement Therefore, the program examines a condition, in this case ConditionToCheck. This ConditionToCheck can be a simple expression or a combination of expressions. If the ConditionToCheck is true, then the program will execute the Statement. There are two waysContinue reading “Most useful conditional structures”
Most useful loop structures
Visual Basic loop structures allow you to run one or more lines of code repetitively. You can repeat the statements in a loop structure until a condition is True, until a condition is False, a specified number of times, or once for each element in a collection. The following illustration shows a loop structure thatContinue reading “Most useful loop structures”
Most useful types of Collections
Many common collections are provided by the .NET Framework. Each type of collection is designed for a specific purpose. Some of the common collection classes are described in this section: System.Collections.Generic classes A generic collection is useful when every item in the collection has the same data type The following table lists some of theContinue reading “Most useful types of Collections”
Most common data types in Visual Studio
By default Visual Basic variables are of variant data types. The variant data type can store numeric, date/time or string data. When a variable is declared, a data type is supplied for it that determines the kind of data they can store. The fundamental data types in Visual Basic including variant are integer, long, single,Continue reading “Most common data types in Visual Studio”
Values attempts of intuitive definition of the concept of probability
The expected value of a random variable is the long-term average of its possible values when values have been realized a large number of times. It is equal to the sum of the products of the values and their probabilities. let’s say that any random variable can have N number of possible values: v1, v2,Continue reading “Values attempts of intuitive definition of the concept of probability”
Conditional and Marginal frequencies
The methodological analysis is divided in:1) choose a population,2) decide the variable/attribute to observe and relative scale of measurement,3) create a dataset with a survey,4) analyze distributions (using the conditional frequency). The conditional frequency indicates how many members of a group have a particular mode of a character. For example in the two-way table, IfContinue reading “Conditional and Marginal frequencies”
Descriptive and Inferential statistics
BASIS FOR COMPARISON DESCRIPTIVE STATISTICS INFERENTIAL STATISTICS Meaning Descriptive Statistics is that branch of statistics which is concerned with describing the population under study. Inferential Statistics is a type of statistics, that focuses on drawing conclusions about the population, on the basis of sample analysis and observation. What it does? Organize, analyze and present dataContinue reading “Descriptive and Inferential statistics”
The most important families of theoretical distribution
Types of theoretical distribution: Binomial Distribution Poisson distribution Normal distribution or Expected Frequency distribution Binomial Distribution: A binomial distribution can be understood as the probability of a trail with two and only two outcomes. It is a type of distribution that has two different outcomes namely, ‘success’ and ‘failure’. Also, it is applicable to discreteContinue reading “The most important families of theoretical distribution”
Quantitative, continuous, discrete and categorical data
Categorical variable Categorical variables contain a finite number of categories or distinct groups. Categorical data might not have a logical order. For example, categorical predictors include gender, material type, and payment method. Quantitative variables can be classified as discrete or continuous. Quantitative data is data expressing a certain quantity, amount or range. Usually, there areContinue reading “Quantitative, continuous, discrete and categorical data”