Data Management and Logic Statement

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/58

flashcard set

Earn XP

Description and Tags

Flashcards to help you study key vocabulary terms from lecture notes, designed for exam preparation.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

59 Terms

1
New cards

Data Management

Organizing, storing, and handling data efficiently.

2
New cards

Statistics

Collecting, analyzing, interpreting, and presenting data.

3
New cards

Mean (Average)

Sum of values divided by number of values

=AVERAGE(range)

MODE → 2: STAT → 1: 1-VAR → Enter data → SHIFT → 1 → 4: Var → 2: x̄

4
New cards

Median

Middle value of an ordered set

=MEDIAN(range)

Manually sort → If odd: middle; If even: avg of 2 middle

5
New cards

Mode

Most frequent value(s)

=MODE(range) or =MODE.MULT(range)

Identify frequent value manually

6
New cards

Percentile

Divides data into 100 parts

=PERCENTILE(range, k)

7
New cards

Quartile

Divides data into 4 parts

=QUARTILE(range, k)

8
New cards

Range

Max – Min

=MAX(range) - MIN(range)

9
New cards

Sample Variance (sx^2)

Avg squared deviation (sample)

=VAR.S(range)

MODE → STAT → 1-VAR → Enter data → SHIFT → 1 → 4: Var → 4: sx → square it

10
New cards

Population Variance

Avg squared deviation (population)

=VAR.P(range)

SHIFT → 1 → 4: Var → 3: σx → square it

11
New cards

Sample Standard Deviation (sx)

Square root of sample variance

=STDEV.S(range) or =STDEV(range)

SHIFT → 1 → 4: Var → 4: sx

12
New cards

Population Standard Deviation (σx)

Square root of population variance

=STDEV.P(range)

SHIFT → 1 → 4: Var → 3: σx

13
New cards

Mean Absolute Deviation (MAD)

Avg absolute difference from mean

=AVEDEV(range)

Find the mean of the data. Subtract the mean from each data point. Take the absolute value of each difference. Sum all the absolute values. Divide the sum by the number of data points (n).

14
New cards

Interquartile Range (IQR)

Q3 - Q1

=QUARTILE(range,3) - QUARTILE(range,1)

Sort the Data: Arrange the data in ascending order.
Find the Median (Q2):For an odd number of values: middle value. For an even number of values: average of the two middle values. Find Q1 (Lower Quartile): Median of the lower half of the data (exclude Q2). Find Q3 (Upper Quartile): Median of the upper half of the data (exclude Q2).
Calculate IQR: IQR = Q3−Q1

15
New cards

Coefficient of variation (CV)

(Standard deviation / Mean) × 100

16
New cards

Coefficient of Correlation (r)

Measures linear relation of X and Y

MODE → STAT → 2: A+BX → Enter (X=, Y=) → SHIFT → 1 → 6: Reg → 3: r

17
New cards

Coefficient of Determination (r²)

% of Y explained by X

Square the r manually

Press Ans → x²

18
New cards

Slope (b)

Rate of change

SHIFT → 1 → 6: Reg → 2: b

19
New cards

Y-intercept (a)

Value of Y when X = 0

SHIFT → 1 → 6: Reg → 1: a

20
New cards

x is missing

x = y - a/b

21
New cards

Correlation

=CORREL(variable 1, variable 2)

22
New cards
23
New cards

Correlation Analysis

Statistical techniques to measure the association of variables.

  • Measures relationship between two variables (X and Y).

  • Correlation Coefficient (r):

    • Ranges from -1 to +1

      • Perfect Positive = +1

      • Perfect Negative = -1

    • No correlation = 0

Strength

Range

Strong

±0.70 to ±0.99

Moderate

±0.30 to ±0.69

Weak

±0.01 to ±0.29

24
New cards

Positive Correlation

As X ↑, Y ↑

See r value (0.01 to 1)

25
New cards

Negative Correlation

As X ↑, Y ↓

See r value (-1 to -0.01)

26
New cards

Perfect Correlation

r = ±1

SHIFT → 1 → 6: Reg → 3: r

27
New cards

No Correlation

r = 0

SHIFT → 1 → 6: Reg → 3: r

28
New cards

Rounding Rules

Measure

Decimal Places

Mean, Median, Mode

Same as given data

Variance, SD, Range

2 decimal places

Correlation & Regression

4 decimal places

29
New cards

Regression Equation

y = a + bx

SHIFT → 1 → 6: Reg → 1: a, 2: b

30
New cards

Regression Analysis

Used for significant correlation only. Develops a model to predict the values of the dependent variable.

31
New cards

Dependent Variable

Denoted by y.

32
New cards

Independent Variable

Denoted by x.

33
New cards

Logic Statements

Logic statement that is either true or false, but not both simultaneously

34
New cards

Imperative Sentences

Commands or requests (e.g., "Close the door." )

35
New cards

Exclamatory Sentences

Express strong emotions (e.g., "What a beautiful day!")

36
New cards

Interrogative Sentences

Questions (e.g., "Is it raining?")

37
New cards

Propositional Variables

A propositional variable is a symbol, typically a lowercase or uppercase letter (e.g., p, q, R), used to represent an arbitrary proposition whose truth value is unspecified.

38
New cards

Simple Proposition

A statement containing only one propositional variable

39
New cards

Compound Proposition

A statement formed by combining two or more simple propositions using logical connectives

40
New cards

Logical Connectives Used in Compound Statements

  • Negation (¬p): "Not p" – Inverts the truth value of p.

  • Conjunction (p ∧ q): "p and q" – True only if both p and q are true.

  • Disjunction (p ∨ q): "p or q" – True if at least one of p or q is true.

  • Implication (p → q): "If p, then q" – False only when p is true and q is false.

  • Biconditional (p q): "p if and only if q" – True when p and q have the same truth value.

41
New cards

Propositional Form (Symbolic Form)

A sequence of symbols containing at least one propositional variable and at least one logical operator

42
New cards

Truth Tables

Systematically display the truth values of propositions based on their components

43
New cards

 Negation (¬p)

p

¬p

T

F

F

T

Translation: "Not p", "It is not the case that p", "It is false that p", "It is not true that p"

44
New cards

Conjunction (p ∧ q)

p

q

p ∧ q

T

T

T

T

F

F

F

T

F

F

F

F

Translation: "p and q", "p moreover q", "p although q", "p still q", "p furthermore q", "p also q", "p nevertheless q", "p however q", "p yet q", "p but q"

45
New cards

Disjunction (p ∨ q)

p

q

p ∨ q

T

T

T

T

F

T

F

T

T

F

F

F

Translation: "p or q"

Note: Disjunction can be inclusive (at least one is true) or exclusive (exactly one is true).

46
New cards

Implication (p → q)

p

q

p → q

T

T

T

T

F

F

F

T

T

F

F

T

Translation: "If p, then q", "p implies q", "p is a sufficient condition for q", "p only if q", "q is a necessary condition for p", "q if p", "q follows from p", "q provided p", "q whenever p", "q is a logical consequence of p"

Related Forms:

  • Converse: q → p

  • Inverse: ¬p → ¬q

  • Contrapositive: ¬q → ¬p

47
New cards

Biconditional (p q)

p

q

p q

T

T

T

T

F

F

F

T

F

F

F

T

Translation: "p if and only if q", "p is equivalent to q", "p is a necessary and sufficient condition for q"

48
New cards

Order of Operations in Logical Expressions

  1. Parentheses: Used to group expressions, especially with "both...and" and "either...or".

    • Both p or q, and r: (p ∨ q) ∧ r

    • p, or both q and r: p ∨ (q ∧ r)

    • Either p and q, or r: (p ∧ q) ∨ r

    • p, and either q or r: p ∧ (q ∨ r)

  2. Negation of Compound Statements:

    • "Neither p nor q": ¬(p ∨ q)

    • "p and q are not both": ¬(p ∧ q)

    • "p and q are both not": ¬p ∧ ¬q

49
New cards

Logical Equivalences

Negation of a Conditional

¬(p → q) ≡ p ∧ ¬q

Interpretation: "It is not true that if p, then q" is equivalent to "p is true and q is false".

De Morgan's Laws

  1. ¬(p ∨ q) ≡ ¬p ∧ ¬q

  2. ¬(p ∧ q) ≡ ¬p ∨ ¬q

Explanation: These laws provide rules for distributing negation over conjunctions and disjunctions.

50
New cards

Classification of Propositions

  • Tautology: A proposition that is always true.

    • Example: p ∨ ¬p

  • Contradiction: A proposition that is always false.

    • Example: p ∧ ¬p

  • Contingency: A proposition that is neither always true nor always false; its truth value depends on the truth values of its components.

    • Example: p ∧ q

51
New cards

Arguments

A collection of propositions where one proposition (the conclusion) is claimed to logically follow from the others (the premises)

52
New cards

Premises

Statements that provide support or reasons

53
New cards

Conclusion

The statement that follows from the premises, often introduced by "therefore" (∴).

54
New cards

Universal Quantifiers

Words like "all", "every", "no", "none" indicate that a statement applies to all elements in a domain

55
New cards

Existential Quantifiers

Words like "some", "there exists", "at least one" indicate that a statement applies to at least one element in a domain

56
New cards

Validity of Arguments

An argument is valid if, whenever all the premises are true, the conclusion is also true. It is invalid if it's possible for all premises to be true while the conclusion is false.

57
New cards

Determining Validity Using Truth Tables

Step 1: Symbolize each premise and the conclusion.

Step 2: Construct a truth table with columns for each premise and the conclusion.

Step 3: Identify any row where all premises are true, but the conclusion

58
New cards

Method A: Tautology Check

  1. Create a truth table with all variables.

  2. Form the conjunction (AND) of all premises.

  3. Use this as the antecedent (if-part) and the conclusion as the consequent (then-part) of a conditional statement.

  4. Check if the entire statement is a tautology (always true).

If it is a tautology → Argument is valid.
If not → Argument is invalid.

59
New cards

Method B: Direct Row Analysis

  1. Make a table with columns for:

    • Premise 1

    • Premise 2

    • Conclusion

  2. Look for a row where all premises are true but the conclusion is false.

If such a row exists → Argument is invalid.
Example: “The argument is invalid as shown in row 3.”

If no such row exists → Argument is valid.
Example: “The argument is valid because there isn’t any row that has both true premises but a false conclusion.”